From 1c5de535739e92d0c6dca335c024503b08d1a2af Mon Sep 17 00:00:00 2001 From: Kangho Date: Thu, 15 Dec 2016 06:24:59 +0900 Subject: Add Tizen to TargetPlatform (#590) * Add Tizen to TargetPlatform * Adds Device.OnPlatform methods having Tizen --- docs/Xamarin.Forms.Core/Xamarin.Forms/Device.xml | 73 ++++++++++++++++++++++++ 1 file changed, 73 insertions(+) (limited to 'docs/Xamarin.Forms.Core/Xamarin.Forms/Device.xml') diff --git a/docs/Xamarin.Forms.Core/Xamarin.Forms/Device.xml b/docs/Xamarin.Forms.Core/Xamarin.Forms/Device.xml index d5c3fce4..1c68026b 100644 --- a/docs/Xamarin.Forms.Core/Xamarin.Forms/Device.xml +++ b/docs/Xamarin.Forms.Core/Xamarin.Forms/Device.xml @@ -162,6 +162,41 @@ Device.BeginInvokeOnMainThread (() => { label.Font = Font.OfSize ("HelveticaNeue-UltraLight", NamedSize.Large)); + ]]> + + + + + + + + Method + + 2.0.0.0 + + + System.Void + + + + + + + + + + (optional) The Action to execute on iOS. + (optional) The Action to execute on Android. + (optional) The Action to execute on WinPhone. + (optional) The Action to execute if no Action was provided for the current OS. + (optional) The Action to execute on Tizen. + Executes different Actions depending on the that Xamarin.Forms is working on. + + This example shows how to change the font of a Label on a single OS. + + + label.Font = Font.OfSize ("HelveticaNeue-UltraLight", NamedSize.Large)); ]]> @@ -204,6 +239,44 @@ Device.OnPlatform (iOS: () => label.Font = Font.OfSize ("HelveticaNeue-UltraLigh + + + + + + + + Method + + 2.0.0.0 + + + T + + + + + + + + + + + + The type of the value to be returned. + The value for iOS. + The value for Android. + The value for WinPhone. + The value for Tizen. + Returns different values depending on the Xamarin.Forms is working on. + The value for the current OS. + + This example shows how to use different heights for a Button on different OS. + + + -- cgit v1.2.3