10 instantiations of AppThemeBinding
Microsoft.Maui.Controls (9)
AppThemeBinding.cs (1)
46
var clone = new
AppThemeBinding
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 (1)
MarkupExtensions\AppThemeBindingExtension.cs (1)
103
var binding = new
AppThemeBinding
();
7 references to AppThemeBinding
Microsoft.Maui.Controls (6)
Application\Application.cs (1)
262
OnParentResourcesChanged([new KeyValuePair<string, object>(
AppThemeBinding
.AppThemeResource, newTheme)]);
AppThemeBinding.cs (4)
14
public AppThemeProxy(Element parent,
AppThemeBinding
binding)
22
public static BindableProperty AppThemeProperty = BindableProperty.Create("AppTheme", typeof(AppTheme), typeof(
AppThemeBinding
), AppTheme.Unspecified,
31
public
AppThemeBinding
Binding { get; }
46
var
clone = new AppThemeBinding
ResourcesExtensions.cs (1)
50
resources[
AppThemeBinding
.AppThemeResource] = app.RequestedTheme;
Microsoft.Maui.Controls.Xaml (1)
MarkupExtensions\AppThemeBindingExtension.cs (1)
103
var
binding = new AppThemeBinding();