Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ItemsControln 個の を配置するためにan を使用していExpanderます。高さ 600のItemsControlに配置されますGrid(たとえば)。私のItemsControl意志が常に利用可能な全体を占有するようHeightにしたいので、一部の を拡張できExpanderます。
ItemsControl
Expander
Grid
Height
そうするための最良のアプローチは何ですか?
1つの方法は、コントロールのプロパティを親のプロパティにバインドHeightすることです。WidthActualWidthActualHeight
Width
ActualWidth
ActualHeight