- iOS
- (optional) The Action to execute on iOS.
- Android
- (optional) The Action to execute on Android.
- WinPhone
- (optional) The Action to execute on WinPhone.
- Default
- (optional) The Action to execute if no Action was provided for the current OS.
This example show how to change the font of a Label on a single OS.
C# Example
Device.OnPlatform (iOS: () => label.Font = Font.OfSize ("HelveticaNeue-UltraLight", NamedSize.Large));