Skip to content

Commit

Permalink
Resolve Binding Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
timunie authored and punker76 committed Jan 5, 2020
1 parent 55f1dfb commit b53d9d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MahApps.Metro/Themes/ColorCanvas.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
Grid.Column="2"
Width="{Binding ElementName=TextBox_HexCode, Path=ActualHeight}"
Height="{Binding ElementName=TextBox_HexCode, Path=ActualHeight}"
SelectedColor="{TemplateBinding SelectedColor}" />
SelectedColor="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=SelectedColor}" />
</Grid>
</Grid>
</Border>
Expand Down
2 changes: 1 addition & 1 deletion src/MahApps.Metro/Themes/ColorEyeDropper.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
Stroke="{DynamicResource MahApps.Brushes.GrayNormal}"
StrokeThickness="1" />

<TextBlock Text="{Binding PreviewColor}"
<TextBlock Text="{Binding PreviewBrush}"
Grid.Row="1"
Grid.Column="1"
Margin="5" />
Expand Down

0 comments on commit b53d9d4

Please sign in to comment.