Silverlight: Docking of controls

流过昼夜 提交于 2019-12-06 16:42:31

The Silverlight Toolkit found on Codeplex contains a DockPanel control, you will want to use that.

I am not sure that i understand your question, but you can consider using one of the various WPF layout techniques.

Example:

<DockPanel LastChildFill="False">
    <Button DockPanel.Dock="Bottom">Bottom</Button>
    <Button DockPanel.Dock="Left">Left</Button>        
    <Button DockPanel.Dock="Right">Right</Button>
    <Button DockPanel.Dock="Top">Top</Button>
    <Button>Fill</Button>
</DockPanel>

DockPanel might be helpful.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!