WPF Extender: Changing the direction of the icon while maintaining the location of the contents (ExpandDirection) the same

I use the WPF extender as a box, it expands so that the title stays above the content. When it is collapsed, the grid cell in which it is located is also reduced.

I want the extension direction to stay down so that the content fills below it, however, as it moves up, it would be better if the icon with the directional arrow was in the opposite direction, as if the ExandDirection property was set to Up, How can this be done either in C # code or in XAML.

thank

+3
source share
1 answer

, / , . , , - wpf :

  • ExpanderUpHeaderStyle ExpanderDownHeaderStyle
  • ExpanderDownHeaderStyle ExpanderUpHeaderStyle

http://msdn.microsoft.com/en-us/library/aa358533(VS.90).aspx

- , , wpf , xaml.

, Expander Blend http://www.c-sharpcorner.com/uploadfile/dpatra/807/default.aspx

+4

Source: https://habr.com/ru/post/1752305/


All Articles