Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DeviceStateTrigger.Device Property

Definition

Namespace:
Microsoft.Maui.Controls
Assembly:
Microsoft.Maui.Controls.dll
Source:
DeviceStateTrigger.cs
Source:
DeviceStateTrigger.cs
Source:
DeviceStateTrigger.cs
Source:
DeviceStateTrigger.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the device platform name (e.g., "Android", "iOS", "WinUI"). This is a bindable property.

public:
 property System::String ^ Device { System::String ^ get(); void set(System::String ^ value); };
public string Device { get; set; }
member this.Device : string with get, set
Public Property Device As String

Property Value

Applies to


Feedback

Was this page helpful?