Platform Properties |
The Platform type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AllowReinitialize |
Gets or sets a value indicating that the platform should allow reinitialization.
|
![]() ![]() | Context |
Gets an object to wrap in the platform's context, when using multiple platforms.
|
![]() ![]() | Detect |
Returns the current generator, or detects the generator to use if no current generator is set.
|
![]() | ID |
Gets the ID of this platform
|
![]() ![]() | Instance |
Gets the platform for the current thread
|
![]() | IsAndroid |
Gets a value indicating whether this platform is based on Xamarin.Android.
|
![]() | IsDesktop |
Gets a value indicating whether this is a desktop platform. This includes Mac, Gtk, WinForms, Wpf, Direct2D.
|
![]() | IsGtk |
Gets a value indicating whether this platform is based on GTK# (2 or 3)
|
![]() | IsIos |
Gets a value indicating whether this platform is based on Xamarin.iOS
|
![]() | IsMac |
Gets a value indicating whether this platform is a mac based platform (MonoMac/XamMac)
|
![]() | IsMobile |
Gets a value indicating whether this is a mobile platform. This includes iOS, Android, and WinRT.
|
![]() | IsValid |
Gets a value indicating that this platform is valid on the running device
|
![]() | IsWinForms |
Gets a value indicating whether this platform is based on Windows Forms
|
![]() | IsWpf |
Gets a value indicating whether this platform is based on WPF
|
![]() | SupportedFeatures |
Gets the supported features of the platform.
|