共用方式為


Microsoft.Maui.Controls.PlatformConfiguration Namespace

Provides marker classes that identify each supported target platform to use with platform specific functionality.

Classes

Android

Marker class that identifies the Android platform.

GTK

Marker class that identifies the Linux platform.

iOS

Marker class that identifies the iOS platform.

macOS

Marker class that identifies the macOS platform.

Tizen

Marker class that identifies the Tizen platform.

Windows

Marker class that identifies the Windows platform.