See Also: Device
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168
The members of Xamarin.Forms.Device are listed below.
See Also: Object
|Idiom||TargetIdiom. Gets the kind of device that Xamarin.Forms is currently working on.|
|OS||TargetPlatform. Gets the TargetPlatform indicating the OS Xamarin.Forms is working on.|
|RuntimePlatform||String. Gets the kind of device that Xamarin.Forms is currently working on.|
Invokes an Action on the device main (UI) thread.
Returns a double that represents the named size for the font that is used on the element on the native platform.
Returns a double that represents a font size that corresponds to size on targetElement.
|OnPlatform(Action, Action, Action, Action)|
Executes different Actions depending on the TargetOS that Xamarin.Forms is working on.
|OnPlatform<T>(T, T, T)|
Returns different values depending on the TargetOS Xamarin.Forms is working on.
Request the device to open the Uri.
Starts a recurring timer using the device clock capabilities.