diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Windows/Themes/Resources.xaml')
-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> |