|
8261 | 8261 | <ControlTemplate x:Key="ExpanderLeftTemplate" TargetType="Expander"> |
8262 | 8262 | <Grid> |
8263 | 8263 | <Grid.ColumnDefinitions> |
8264 | | - <ColumnDefinition Width="Auto" /> |
| 8264 | + <ColumnDefinition /> |
8265 | 8265 | <ColumnDefinition Width="Auto" /> |
8266 | 8266 | </Grid.ColumnDefinitions> |
8267 | 8267 | <Border x:Name="BorderHeader" Grid.Column="1" CornerRadius="{Binding Path=(hc:BorderElement.CornerRadius),RelativeSource={RelativeSource TemplatedParent}}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> |
|
8297 | 8297 | <ControlTemplate x:Key="ExpanderUpTemplate" TargetType="Expander"> |
8298 | 8298 | <Grid> |
8299 | 8299 | <Grid.RowDefinitions> |
8300 | | - <RowDefinition Height="Auto" /> |
| 8300 | + <RowDefinition /> |
8301 | 8301 | <RowDefinition Height="Auto" /> |
8302 | 8302 | </Grid.RowDefinitions> |
8303 | 8303 | <Border x:Name="BorderHeader" Grid.Row="1" CornerRadius="{Binding Path=(hc:BorderElement.CornerRadius),RelativeSource={RelativeSource TemplatedParent}}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> |
|
8329 | 8329 | <Grid> |
8330 | 8330 | <Grid.ColumnDefinitions> |
8331 | 8331 | <ColumnDefinition Width="Auto" /> |
8332 | | - <ColumnDefinition Width="Auto" /> |
| 8332 | + <ColumnDefinition /> |
8333 | 8333 | </Grid.ColumnDefinitions> |
8334 | 8334 | <Border x:Name="BorderHeader" CornerRadius="{Binding Path=(hc:BorderElement.CornerRadius),RelativeSource={RelativeSource TemplatedParent}}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> |
8335 | 8335 | <ToggleButton VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" Focusable="False" Padding="0,0,0,10" Foreground="{TemplateBinding Foreground}" IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" MinWidth="{TemplateBinding MinWidth}" Style="{StaticResource ToggleButtonCustom}"> |
|
8365 | 8365 | <Grid> |
8366 | 8366 | <Grid.RowDefinitions> |
8367 | 8367 | <RowDefinition Height="Auto" /> |
8368 | | - <RowDefinition Height="Auto" /> |
| 8368 | + <RowDefinition /> |
8369 | 8369 | </Grid.RowDefinitions> |
8370 | 8370 | <Border x:Name="BorderHeader" CornerRadius="{Binding Path=(hc:BorderElement.CornerRadius),RelativeSource={RelativeSource TemplatedParent}}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> |
8371 | 8371 | <ToggleButton HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Focusable="False" Padding="10,0,0,0" Foreground="{TemplateBinding Foreground}" IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Width="{TemplateBinding Width}" Height="{TemplateBinding MinHeight}" Style="{StaticResource ToggleButtonCustom}"> |
|
0 commit comments