Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Incorrect Bindings to Color resources rather than Brush reasources
  • Loading branch information
deanchalkbp committed Mar 27, 2020
commit 9e577577d02f05ba53f11c8ced20ea538df25b1e
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
</InkToolbarCustomToolButton>
</InkToolbar>

<StackPanel Background="{ThemeResource SystemChromeMediumColor}"
<StackPanel Background="{ThemeResource SystemControlBackgroundChromeMediumBrush}"
Orientation="Horizontal">
<Grid Width="2"
Height="48"
Background="{ThemeResource SystemListMediumColor}" />
Background="{ThemeResource SystemControlBackgroundListMediumBrush}" />
<Button x:Name="EraseAllButton"
Style="{StaticResource CanvasTextBoxButtonStyle}"
ToolTipService.ToolTip="Erase All">
Expand All @@ -57,7 +57,7 @@
</Button>
</StackPanel>
<StackPanel x:Name="CanvasTextBoxTools"
Background="{ThemeResource SystemChromeMediumColor}"
Background="{ThemeResource SystemControlBackgroundChromeMediumBrush}"
Orientation="Horizontal"
Visibility="Collapsed">
<Grid Width="2"
Expand Down Expand Up @@ -157,14 +157,14 @@
TargetType="ToggleButton">
<Setter Property="Width" Value="48" />
<Setter Property="Height" Value="48" />
<Setter Property="Background" Value="{ThemeResource SystemChromeMediumColor}" />
<Setter Property="Background" Value="{ThemeResource SystemControlBackgroundChromeMediumBrush}" />
<Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseHighBrush}" />
</Style>
<Style x:Key="CanvasTextBoxButtonStyle"
TargetType="Button">
<Setter Property="Width" Value="48" />
<Setter Property="Height" Value="48" />
<Setter Property="Background" Value="{ThemeResource SystemChromeMediumColor}" />
<Setter Property="Background" Value="{ThemeResource SystemControlBackgroundChromeMediumBrush}" />
<Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseHighBrush}" />
</Style>

Expand Down