Enable header action button hit-testing in window chrome
This commit is contained in:
@@ -353,18 +353,21 @@
|
||||
HorizontalAlignment="Left"
|
||||
Margin="14,14,0,0"
|
||||
x:Name="Logo" />
|
||||
<Border HorizontalAlignment="Right"
|
||||
<Border x:Name="HeaderActionGroup"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Margin="0,12,12,0"
|
||||
Panel.ZIndex="500"
|
||||
CornerRadius="10"
|
||||
BorderThickness="1"
|
||||
BorderBrush="{DynamicResource panelBorderColor}"
|
||||
Background="{DynamicResource headerControlBackgroundColor}">
|
||||
Background="{DynamicResource headerControlBackgroundColor}"
|
||||
shell:WindowChrome.IsHitTestVisibleInChrome="True">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button x:Name="RefreshIcon"
|
||||
Style="{StaticResource HeaderGroupButtonStyle}"
|
||||
ToolTip="Refresh"
|
||||
shell:WindowChrome.IsHitTestVisibleInChrome="True"
|
||||
Click="OnRefreshButtonClick">
|
||||
<Image Source="{DynamicResource nav_appbar_refresh}"
|
||||
Tag="ICO"
|
||||
@@ -377,6 +380,7 @@
|
||||
<Button x:Name="Close_Text"
|
||||
Style="{StaticResource HeaderGroupButtonStyle}"
|
||||
ToolTip="{x:Static resx:Resources.close}"
|
||||
shell:WindowChrome.IsHitTestVisibleInChrome="True"
|
||||
Click="OnMinimizeButtonClick">
|
||||
<TextBlock Text="X"
|
||||
FontSize="15"
|
||||
|
||||
Reference in New Issue
Block a user