IAppInfo.RequestedTheme Property

Definition

Gets the detected theme of the system or application.

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

Property Value

Remarks

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

Applies to