Expander should be the HeaderText on the left and the ToggleButton on right side.
I try to set the ToggleButton to the default style, without to create a new completly ControlTemplate for it.
Can someone help?
<ControlTemplate TargetType="Expander" x:Key="ExpanderControlx"> <Grid Margin="0"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Name="ContentRow" Height="0"/> </Grid.RowDefinitions> <Border Grid.Row="0" > <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="20"/> </Grid.ColumnDefinitions> <ToggleButton Grid.Column="1" IsChecked="{Binding Path=IsExpanded,Mode=TwoWay,RelativeSource={RelativeSource TemplatedParent}}" OverridesDefaultStyle="True" Template="{StaticResource {x:Type ToggleButton}}" /> <TextBlock Grid.Column="0" Eddie.TextFormat="Header1" Text="{TemplateBinding Header}" HorizontalAlignment="Left" /> </Grid> </Border> <Border Grid.Row="1" Name="ContentText" > <StackPanel> <ContentPresenter/> </StackPanel> </Border> </Grid> <ControlTemplate.Triggers> <Trigger Property="IsExpanded" Value="True"> <Setter TargetName="ContentRow" Property="Height" Value="{Binding ElementName=ContentText, Path=Height}"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> <Style TargetType="controls:ExpanderControl"> <Setter Property="Template" Value="{StaticResource ExpanderControlx}" /> </Style> 