简体   繁体   中英

Docking of Silverlight Controls

I've read this question, but still, it explains how to dock controls within DockPanel. How does one dock the DockPanel within the window? 替代文字

As you can see, the Map control is docked to the DockPanel, but the DockPanel is not docked to the window.

What am I missing?

DockPanel删除HorizontalAlignmentVerticalAlignment属性,这些属性的默认值为Stretch ,这将导致DockPanel填充可用空间。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM