Ghost1372

everything can be handy

Expander

Styles

Name
ExpanderBaseStyle
Expander.Small

ExpanderBaseStyle

Expander Expand Box The default style, which is not recommended for direct use, should always be used by other styles in the BasedOn method.

Example:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<StackPanel Margin="32" VerticalAlignment="Center" Width="240">
    <Expander Header="Title" BorderThickness="1,1,1,0" BorderBrush="{DynamicResource BorderBrush}">
        <Border Height="100" Background="{DynamicResource SecondaryRegionBrush}"/>
    </Expander>
    <Expander Header="Title" BorderThickness="1,1,1,0" BorderBrush="{DynamicResource BorderBrush}">
        <Border Height="100" Background="{DynamicResource SecondaryRegionBrush}"/>
    </Expander>
    <Expander Header="Title" BorderThickness="1,1,1,0" BorderBrush="{DynamicResource BorderBrush}">
        <Border Height="100" Background="{DynamicResource SecondaryRegionBrush}"/>
    </Expander>
    <Expander Header="Title" BorderThickness="1" BorderBrush="{DynamicResource BorderBrush}">
        <Border Height="100" Background="{DynamicResource SecondaryRegionBrush}"/>
    </Expander>
</StackPanel>

ExpanderBaseStyle

0%