Refine navigation UX and header action styling
This commit is contained in:
@@ -205,12 +205,18 @@
|
||||
Value="50"></Setter>
|
||||
<EventSetter Event="PreviewMouseDown"
|
||||
Handler="Button_MouseDown" />
|
||||
<EventSetter Event="Click"
|
||||
Handler="NavigationButton_Click" />
|
||||
<EventSetter Event="MouseEnter"
|
||||
Handler="Button_MouseEnter" />
|
||||
<EventSetter Event="MouseLeave"
|
||||
Handler="Button_MouseLeave" />
|
||||
<EventSetter Event="KeyDown"
|
||||
Handler="NavigationButton_KeyDown" />
|
||||
<EventSetter Event="Loaded"
|
||||
Handler="Button_Loaded" />
|
||||
<Setter Property="IsTabStop"
|
||||
Value="True" />
|
||||
<Setter Property="Background"
|
||||
Value="Transparent" />
|
||||
<Setter Property="Foreground"
|
||||
@@ -252,11 +258,11 @@
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource navForeground}" />
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource headerControlBackgroundColor}" />
|
||||
Value="Transparent" />
|
||||
<Setter Property="BorderBrush"
|
||||
Value="{DynamicResource panelBorderColor}" />
|
||||
Value="Transparent" />
|
||||
<Setter Property="BorderThickness"
|
||||
Value="1" />
|
||||
Value="0" />
|
||||
<Setter Property="Cursor"
|
||||
Value="Hand" />
|
||||
<Setter Property="Width"
|
||||
@@ -300,7 +306,7 @@
|
||||
<Setter Property="BorderThickness"
|
||||
Value="0" />
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource headerControlBackgroundColor}" />
|
||||
Value="Transparent" />
|
||||
<Setter Property="Width"
|
||||
Value="32" />
|
||||
<Setter Property="Height"
|
||||
@@ -360,9 +366,9 @@
|
||||
Margin="0,12,12,0"
|
||||
Panel.ZIndex="500"
|
||||
CornerRadius="10"
|
||||
BorderThickness="1"
|
||||
BorderBrush="{DynamicResource panelBorderColor}"
|
||||
Background="{DynamicResource headerControlBackgroundColor}"
|
||||
BorderThickness="0"
|
||||
BorderBrush="Transparent"
|
||||
Background="Transparent"
|
||||
shell:WindowChrome.IsHitTestVisibleInChrome="True">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button x:Name="RefreshIcon"
|
||||
@@ -375,11 +381,9 @@
|
||||
Width="16"
|
||||
Height="16" />
|
||||
</Button>
|
||||
<Border Width="1"
|
||||
Margin="0,6"
|
||||
Background="{DynamicResource panelBorderColor}" />
|
||||
<Button x:Name="Close_Text"
|
||||
Style="{StaticResource HeaderGroupButtonStyle}"
|
||||
Margin="2,0,0,0"
|
||||
ToolTip="{x:Static resx:Resources.close}"
|
||||
shell:WindowChrome.IsHitTestVisibleInChrome="True"
|
||||
Click="OnMinimizeButtonClick">
|
||||
|
||||
Reference in New Issue
Block a user