Click or drag to resize

Platform Properties

The Platform type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllowReinitialize
Gets or sets a value indicating that the platform should allow reinitialization.
Public propertyCode exampleContext
Gets an object to wrap in the platform's context, when using multiple platforms.
Public propertyStatic memberDetect
Returns the current generator, or detects the generator to use if no current generator is set.
Public propertyID
Gets the ID of this platform
Public propertyStatic memberInstance
Gets the platform for the current thread
Public propertyIsAndroid
Gets a value indicating whether this platform is based on Xamarin.Android.
Public propertyIsDesktop
Gets a value indicating whether this is a desktop platform. This includes Mac, Gtk, WinForms, Wpf, Direct2D.
Public propertyIsGtk
Gets a value indicating whether this platform is based on GTK# (2 or 3)
Public propertyIsIos
Gets a value indicating whether this platform is based on Xamarin.iOS
Public propertyIsMac
Gets a value indicating whether this platform is a mac based platform (MonoMac/XamMac)
Public propertyIsMobile
Gets a value indicating whether this is a mobile platform. This includes iOS, Android, and WinRT.
Public propertyIsValid
Gets a value indicating that this platform is valid on the running device
Public propertyIsWinForms
Gets a value indicating whether this platform is based on Windows Forms
Public propertyIsWpf
Gets a value indicating whether this platform is based on WPF
Public propertySupportedFeatures
Gets the supported features of the platform.
Top
See Also