24 references to AppTheme
Microsoft.Maui (1)
Core\IApplication.cs (1)
53
AppTheme
UserAppTheme { get; }
Microsoft.Maui.Controls (17)
Application\Application.cs (11)
173
public
AppTheme
UserAppTheme
187
public
AppTheme
PlatformAppTheme
202
public
AppTheme
RequestedTheme =>
203
UserAppTheme !=
AppTheme
.Unspecified
244
AppTheme
_platformAppTheme =
AppTheme
.Unspecified;
245
AppTheme
_lastAppTheme =
AppTheme
.Unspecified;
246
AppTheme
_userAppTheme =
AppTheme
.Unspecified;
250
var
newTheme = RequestedTheme;
AppThemeBinding.cs (4)
22
public static BindableProperty AppThemeProperty = BindableProperty.Create("AppTheme", typeof(
AppTheme
), typeof(AppThemeBinding),
AppTheme
.Unspecified,
167
AppTheme
appTheme;
175
AppTheme
.Dark => _isDarkSet ? Dark : Default,
AppThemeChangedEventArgs.cs (2)
11
public AppThemeChangedEventArgs(
AppTheme
appTheme) =>
15
public
AppTheme
RequestedTheme { get; }
Microsoft.Maui.Essentials (6)
AppInfo\AppInfo.netstandard.cs (2)
17
public
AppTheme
RequestedTheme =>
AppTheme
.Unspecified;
AppInfo\AppInfo.shared.cs (4)
45
/// <remarks>For platforms or platform versions which do not support themes, <see cref="
AppTheme
.Unspecified"/> is returned.</remarks>
46
AppTheme
RequestedTheme { get; }
99
/// <remarks>For platforms or platform versions which do not support themes, <see cref="
AppTheme
.Unspecified"/> is returned.</remarks>
100
public static
AppTheme
RequestedTheme => Current.RequestedTheme;