How to change the color of the right bar in the ToolBar?
In the proposed https://msdn.microsoft.com/ru-ru/library/aa970772(v=vs.85).aspx type does not match the ToolBar ( TargetType="{x:Type ToggleButton}"> ).
If you replace it in the proposed ToolBarOverflowButtonStyle https://msdn.microsoft.com/ru-ru/library/aa970772(v=vs.85).aspx with {x: Type ToolBar} "then the program does not start.
If you do this, the angle will not change. But the program works in this case:
<ToolBar Name="toolbar1" DockPanel.Dock="Top" Style="{DynamicResource AAA}" > .
<Style x:Key="AAA" TargetType="{x:Type ToolBar}"> <Setter Property="Foreground" Value="#FFFFFF" /> <Setter Property="Background" Value="#FF0F0F0F" /> </Style> But if you add:
<Setter Property="OverridesDefaultStyle" Value="true" After that, the panel is not displayed. If you add height to it, it will be empty without buttons.
<Style x:Key="ToolBarOverflowButtonStyle" TargetType="{x:Type ToolBar}"> <Setter Property="OverridesDefaultStyle" Value="true"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ToolBar}"> <Border Name="Bd" CornerRadius="0,3,3,0" Background="Transparent" SnapsToDevicePixels="true"> <Grid> <Path Name="Arrow" Fill="Black" VerticalAlignment="Bottom" Margin="2,3" Data="M -0.5 3 L 5.5 3 L 2.5 6 Z"/> <ContentPresenter/> </Grid> </Border> <ControlTemplate.Triggers> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="Bd" Property="Background" Value="{StaticResource DarkBrush}"/> </Trigger> <Trigger Property="IsKeyboardFocused" Value="true"> <Setter TargetName="Bd" Property="Background" Value="{StaticResource DarkBrush}"/> </Trigger> <Trigger Property="IsChecked" Value="true"> <Setter TargetName="Bd" Property="Background" Value="{StaticResource DarkBrush}"/> </Trigger> <Trigger Property="IsEnabled" Value="false"> <Setter TargetName="Arrow" Property="Fill" Value="#AAA"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> 

<ToolBar Name="toolbar1" DockPanel.Dock="Top"show? - codename0082016