Java, .NET, PHP, PYTHON, ANGULAR, ML, Data Science, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

DOCK PANEL in WPF:-


Dock Panel is used to arrange the child component top, left, right, and bottom.

The Dock panel is best in dimension .it will automatically manage the element in left alignment.
The default width and height of the Dock element is 100%

<DockPanel>
        <Button Height="100" Width="100" DockPanel.Dock="Left">1</Button>

        <Button Height="100" Width="100" DockPanel.Dock="Right">7</Button>
        <Button Height="100" Width="100" DockPanel.Dock="Top">8</Button>
        <Button Height="100" Width="100" DockPanel.Dock="Bottom">2</Button>
       


    </DockPanel>




Post a Comment

POST Answer of Questions and ASK to Doubt

Previous Post Next Post