11 writes to Dark
Microsoft.Maui.Controls (9)
AppThemeBinding.cs (1)
50
Dark
= Dark,
BindableObjectExtensions.cs (1)
212
public static void SetAppTheme<T>(this BindableObject self, BindableProperty targetProperty, T light, T dark) => self.SetBinding(targetProperty, new AppThemeBinding { Light = light,
Dark
= dark });
RadioButton\RadioButton.cs (4)
594
Value = dynamicOuterEllipseThemeColor is not null ? dynamicOuterEllipseThemeColor : new AppThemeBinding() { Light = outerEllipseVisualStateLight,
Dark
= outerEllipseVisualStateDark }
601
Value = dynamicCheckMarkThemeColor is not null ? dynamicCheckMarkThemeColor : new AppThemeBinding() { Light = checkMarkVisualStateLight,
Dark
= checkMarkVisualStateDark }
608
Value = dynamicCheckMarkThemeColor is not null ? dynamicCheckMarkThemeColor : new AppThemeBinding() { Light = checkMarkFillVisualStateLight,
Dark
= checkMarkFillVisualStateDark }
620
Value = dynamicOuterEllipseThemeColor is not null ? dynamicOuterEllipseThemeColor : new AppThemeBinding() { Light = outerEllipseVisualStateLight,
Dark
= outerEllipseVisualStateDark }
Shell\BaseShellItem.cs (2)
404
Value = new AppThemeBinding() { Light = Colors.Black.MultiplyAlpha(0.1f),
Dark
= Colors.White.MultiplyAlpha(0.1f) }
497
textColor = new AppThemeBinding { Light = Colors.Black.MultiplyAlpha(0.87f),
Dark
= Colors.White };
Shell\Shell.cs (1)
1172
new AppThemeBinding { Light = Colors.White,
Dark
= Colors.Black, Mode = BindingMode.OneWay });
Microsoft.Maui.Controls.Xaml (2)
MarkupExtensions\AppThemeBindingExtension.cs (2)
109
binding.
Dark
= converterProvider.Convert(Dark, propertyType, minforetriever, serviceProvider);
120
binding.
Dark
= Dark.ConvertTo(propertyType, minforetriever, serviceProvider, out converterException);
2 references to Dark
Microsoft.Maui.Controls (2)
AppThemeBinding.cs (2)
50
Dark =
Dark
,
175
AppTheme.Dark => _isDarkSet ?
Dark
: Default,