diff options
author | Bertrand Le Roy <beleroy@microsoft.com> | 2018-06-25 22:11:33 +0300 |
---|---|---|
committer | Bertrand Le Roy <beleroy@microsoft.com> | 2018-06-25 22:11:33 +0300 |
commit | 1577ef72a4ed7e4aaf21929d60f53b0c463a83f9 (patch) | |
tree | 2c1a3ac5c01f0762db91eaea5cd2919a50b26adb /Xamarin.PropertyEditing.Windows | |
parent | 0cec86376f629b4dfc682797557a70c591fc1a84 (diff) |
Fixes #320
Diffstat (limited to 'Xamarin.PropertyEditing.Windows')
-rw-r--r-- | Xamarin.PropertyEditing.Windows/Themes/Resources.xaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Windows/Themes/Resources.xaml b/Xamarin.PropertyEditing.Windows/Themes/Resources.xaml index 068edb6..cd2374f 100644 --- a/Xamarin.PropertyEditing.Windows/Themes/Resources.xaml +++ b/Xamarin.PropertyEditing.Windows/Themes/Resources.xaml @@ -1304,7 +1304,7 @@ ToolTip="{Binding Label}" AutomationProperties.Name="{Binding Label}" AutomationProperties.HelpText="{Binding Label}" GroupName="MaterialDesignAccentOrNormal"> <local:BrushBoxControl Label="{Binding Label}" FontSize="10" - LightForegroundThreshold="{Binding Path=DataContext.NormalColorScriptureLightnessThreshold, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:ChoiceControl}}}"> + LightForegroundThreshold="{Binding Path=DataContext.NormalColorScriptureLightnessThreshold, ElementName=normalColorPicker}"> <local:BrushBoxControl.Brush> <SolidColorBrush Color="{Binding Converter={local:CommonColorToColorConverter}}"/> </local:BrushBoxControl.Brush> @@ -1332,7 +1332,7 @@ ToolTip="{Binding Label}" AutomationProperties.Name="{Binding Label}" AutomationProperties.HelpText="{Binding Label}" GroupName="MaterialDesignAccentOrNormal"> <local:BrushBoxControl Label="{Binding Label}" FontSize="10" - LightForegroundThreshold="{Binding Path=DataContext.AccentColorScriptureLightnessThreshold, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:ChoiceControl}}}"> + LightForegroundThreshold="{Binding Path=DataContext.AccentColorScriptureLightnessThreshold, ElementName=accentColorPicker}"> <local:BrushBoxControl.Brush> <SolidColorBrush Color="{Binding Converter={local:CommonColorToColorConverter}}"/> </local:BrushBoxControl.Brush> |