■ DockPanel 엘리먼트 사용하기

----------------------------------------------------------------------------------------------------

<DockPanel

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Button Content="Button No. 1" DockPanel.Dock="Left"   />

    <Button Content="Button No. 2" DockPanel.Dock="Top"    />

    <Button Content="Button No. 3" DockPanel.Dock="Right"  />

    <Button Content="Button No. 4" DockPanel.Dock="Bottom" />

    <Button Content="Button No. 5"                         />

</DockPanel>

----------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요