|
58 | 58 | HorizontalAlignment="Center"
|
59 | 59 | Fill="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>-->
|
60 | 60 | <Button Grid.Row="0"
|
| 61 | + Grid.RowSpan="1" |
61 | 62 | Grid.Column="0"
|
62 |
| - Click="_runCommandButtonClicked"> |
63 |
| - <FontIcon FontFamily="Segoe Fluent Icons, Segoe MDL2 Assets" |
64 |
| - FontSize="12" |
65 |
| - Glyph="" /> |
| 63 | + Padding="3" |
| 64 | + VerticalAlignment="Bottom" |
| 65 | + Background="Transparent" |
| 66 | + BorderBrush="Transparent" |
| 67 | + Click="_runCommandButtonClicked" |
| 68 | + ToolTipService.ToolTip="Input this command"> |
| 69 | + |
| 70 | + <Button.Content> |
| 71 | + <FontIcon FontFamily="Segoe Fluent Icons, Segoe MDL2 Assets" |
| 72 | + FontSize="12" |
| 73 | + Glyph="" /> |
| 74 | + </Button.Content> |
| 75 | + |
| 76 | + <Button.Resources> |
| 77 | + <ResourceDictionary> |
| 78 | + <ResourceDictionary.ThemeDictionaries> |
| 79 | + <ResourceDictionary x:Key="Light"> |
| 80 | + <SolidColorBrush x:Key="ButtonForegroundPointerOver" |
| 81 | + Color="{StaticResource SystemAccentColor}" /> |
| 82 | + <SolidColorBrush x:Key="ButtonForegroundPressed" |
| 83 | + Color="{StaticResource SystemAccentColor}" /> |
| 84 | + </ResourceDictionary> |
| 85 | + <ResourceDictionary x:Key="Dark"> |
| 86 | + <SolidColorBrush x:Key="ButtonForegroundPointerOver" |
| 87 | + Color="{StaticResource SystemAccentColor}" /> |
| 88 | + <SolidColorBrush x:Key="ButtonForegroundPressed" |
| 89 | + Color="{StaticResource SystemAccentColor}" /> |
| 90 | + </ResourceDictionary> |
| 91 | + <ResourceDictionary x:Key="HighContrast"> |
| 92 | + <SolidColorBrush x:Key="ButtonBackground" |
| 93 | + Color="{ThemeResource SystemColorButtonFaceColor}" /> |
| 94 | + <SolidColorBrush x:Key="ButtonBackgroundPointerOver" |
| 95 | + Color="{ThemeResource SystemColorHighlightColor}" /> |
| 96 | + <SolidColorBrush x:Key="ButtonBackgroundPressed" |
| 97 | + Color="{ThemeResource SystemColorHighlightColor}" /> |
| 98 | + <SolidColorBrush x:Key="ButtonForeground" |
| 99 | + Color="{ThemeResource SystemColorButtonTextColor}" /> |
| 100 | + <SolidColorBrush x:Key="ButtonForegroundPointerOver" |
| 101 | + Color="{ThemeResource SystemColorHighlightTextColor}" /> |
| 102 | + <SolidColorBrush x:Key="ButtonForegroundPressed" |
| 103 | + Color="{ThemeResource SystemColorHighlightTextColor}" /> |
| 104 | + </ResourceDictionary> |
| 105 | + </ResourceDictionary.ThemeDictionaries> |
| 106 | + </ResourceDictionary> |
| 107 | + </Button.Resources> |
66 | 108 | </Button>
|
| 109 | + |
67 | 110 | <TextBlock Grid.Column="1"
|
68 | 111 | Margin="12,6,0,0"
|
69 | 112 | Style="{ThemeResource BaseTextBlockStyle}"
|
|
0 commit comments