开发者

WPF expander size issue

I am using an ItemsControl to place n number of 开发者_运维百科Expanders. My ItemsControl will be placed in a Grid with height 600 (for example). I want to make sure my ItemsControl will always occupy the entire available Height, to do so it can expand some of the Expanders.

What will be the best approach to do so?


One way would be to bind the Height and Width properties of your control to the parent's ActualWidth and ActualHeight properties

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜