I was trying to change the icons associated with the pin and the unpin icons : i made the following changes to the paths in PaneHeader_PinButtonStyle :
<Path x:Name="BackgroundIcon" Data="M 6,0 L 0,3 L 6,6 Z" Height="10" Margin="0 2 0 0" Stroke="{StaticResource ButtonIconBackground_Normal}" StrokeThickness="1" Width="7"/>
<Path x:Name="ForegroundIcon" Data="M 6,0 L 0,3 L 6,6 Z" Height="10" Margin="0 1 0 1" Stroke="{StaticResource ButtonIconForeground_Normal}" StrokeThickness="1" Width="7"/>
and following change to the paths PaneHeader_UnPinButtonStyle :
<Path x:Name="BackgroundIcon" Data="M 0,0 L 6,3 L 0,6 Z" Height="10" Margin="0 2 0 0" Stroke="{StaticResource ButtonIconBackground_Normal}" StrokeThickness="1" Width="7"/>
<Path x:Name="ForegroundIcon" Data="M 0,0 L 6,3 L 0,6 Z" Height="10" Margin="0 1 0 1" Stroke="{StaticResource ButtonIconForeground_Normal}" StrokeThickness="1" Width="7"/>
I was able to see the change for the PaneHeader_PinButtonStyle, but for the PaneHeader_UnPinButtonStyle, when i mouse over the unpinned pane, the pane rolls out and i still see the old unpinned icon.
Am i missing anything?
<Path x:Name="BackgroundIcon" Data="M 6,0 L 0,3 L 6,6 Z" Height="10" Margin="0 2 0 0" Stroke="{StaticResource ButtonIconBackground_Normal}" StrokeThickness="1" Width="7"/>
<Path x:Name="ForegroundIcon" Data="M 6,0 L 0,3 L 6,6 Z" Height="10" Margin="0 1 0 1" Stroke="{StaticResource ButtonIconForeground_Normal}" StrokeThickness="1" Width="7"/>
and following change to the paths PaneHeader_UnPinButtonStyle :
<Path x:Name="BackgroundIcon" Data="M 0,0 L 6,3 L 0,6 Z" Height="10" Margin="0 2 0 0" Stroke="{StaticResource ButtonIconBackground_Normal}" StrokeThickness="1" Width="7"/>
<Path x:Name="ForegroundIcon" Data="M 0,0 L 6,3 L 0,6 Z" Height="10" Margin="0 1 0 1" Stroke="{StaticResource ButtonIconForeground_Normal}" StrokeThickness="1" Width="7"/>
I was able to see the change for the PaneHeader_PinButtonStyle, but for the PaneHeader_UnPinButtonStyle, when i mouse over the unpinned pane, the pane rolls out and i still see the old unpinned icon.
Am i missing anything?