Share via


AppInfo.RequestedTheme Property

Definition

Gets the detected theme of the system or application.

public:
 static property Microsoft::Maui::ApplicationModel::AppTheme RequestedTheme { Microsoft::Maui::ApplicationModel::AppTheme get(); };
public static Microsoft.Maui.ApplicationModel.AppTheme RequestedTheme { get; }
static member RequestedTheme : Microsoft.Maui.ApplicationModel.AppTheme
Public Shared ReadOnly Property RequestedTheme As AppTheme

Property Value

The Theme.

Remarks

For platforms or platform versions which do not support themes, Unspecified is returned.

Applies to