How can I make a WPF Expander Stretch?

后端 未结 8 810
醉酒成梦
醉酒成梦 2020-12-29 02:34

The Expander control in WPF does not stretch to fill all the available space. Is there any solutions in XAML for this?

8条回答
  •  抹茶落季
    2020-12-29 03:22

    Non stretchable Expanders is usually the problem of non stretchable parent controls.. Perhaps one of the parent controls has defined a HorizontalAlignment or VerticalAlignment property?

    If you can post some sample code, we can give you a better answer.

提交回复
热议问题