From: dongsug.song Date: Wed, 31 May 2017 01:45:41 +0000 (+0900) Subject: sync with devel/master branch X-Git-Tag: preview1-00180^2~272 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e09330fa6bf7ac8d7154392738bc868fbea72bd;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git sync with devel/master branch Change-Id: I44d969cd3623e95e1d90985e6603f8f0a4390678 Signed-off-by: dongsug.song --- diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..953cfc3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +NUISample2/NUISample2/NUISample2.Tizen/obj +NUISample2/NUISample2/NUISample2.Tizen/bin +NUISamples/NUISamples/NUISamples.TizenTV/obj +NUISamples/NUISamples/NUISamples.TizenTV/bin +NUISamples/NUISamples/NUISamples/obj +NUISamples/NUISamples/NUISamples/bin +NUISamples/Tizen.NUI.Extension.Test/obj +NUISamples/Tizen.NUI.Extension.Test/bin +Tizen.NUI/obj +Tizen.NUI/bin +*.lock.json +Tizen.NUI/.vs/ diff --git a/.vs/Tizen.NUI/v14/.suo b/.vs/Tizen.NUI/v14/.suo new file mode 100755 index 0000000..db3b958 Binary files /dev/null and b/.vs/Tizen.NUI/v14/.suo differ diff --git a/.vs/config/applicationhost.config b/.vs/config/applicationhost.config new file mode 100755 index 0000000..5d4c0ab --- /dev/null +++ b/.vs/config/applicationhost.config @@ -0,0 +1,1031 @@ + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LICENSE.BSD-3-Clause b/LICENSE.BSD-3-Clause old mode 100644 new mode 100755 diff --git a/NUISamples/NUISamples.sln b/NUISamples/NUISamples.sln index 99e8bad..af8ea84 100755 --- a/NUISamples/NUISamples.sln +++ b/NUISamples/NUISamples.sln @@ -10,8 +10,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples.TizenTV", "NUISa {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA} = {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA} EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.NUI.Extension.Test", "Tizen.NUI.Extension.Test\Tizen.NUI.Extension.Test.csproj", "{2DEF21E8-80D1-43B6-9E93-AEF1D1BE169B}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.NUI", "..\Tizen.NUI\Tizen.NUI.csproj", "{F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}" EndProject Global @@ -28,10 +26,6 @@ Global {7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Debug|Any CPU.Build.0 = Debug|Any CPU {7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Release|Any CPU.ActiveCfg = Release|Any CPU {7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Release|Any CPU.Build.0 = Release|Any CPU - {2DEF21E8-80D1-43B6-9E93-AEF1D1BE169B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2DEF21E8-80D1-43B6-9E93-AEF1D1BE169B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2DEF21E8-80D1-43B6-9E93-AEF1D1BE169B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2DEF21E8-80D1-43B6-9E93-AEF1D1BE169B}.Release|Any CPU.Build.0 = Release|Any CPU {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.Build.0 = Debug|Any CPU {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/NUISamples.TizenTV.csproj b/NUISamples/NUISamples/NUISamples.TizenTV/NUISamples.TizenTV.csproj index 506dba5..e0ac162 100755 --- a/NUISamples/NUISamples/NUISamples.TizenTV/NUISamples.TizenTV.csproj +++ b/NUISamples/NUISamples/NUISamples.TizenTV/NUISamples.TizenTV.csproj @@ -69,7 +69,10 @@ + + + @@ -190,10 +193,10 @@ - + - + diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/Main.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/Main.cs index 6e2c143..765ca0d 100755 --- a/NUISamples/NUISamples/NUISamples.TizenTV/examples/Main.cs +++ b/NUISamples/NUISamples/NUISamples.TizenTV/examples/Main.cs @@ -17,9 +17,10 @@ namespace NUISamples.TizenTV.examples //new ControlDashboard.Example().Run(args); //o //new DatePickerTest.Example().Run(args); //o //new DatePickerUsingJson.Example().Run(args); //o - //new HelloTest.Example().Run(args); //o - new HelloWorldTest.Example().Run(args); //o - //new Test1.Example().Run(args); //o + // new HelloTest.Example().Run(args); //o + // new HelloWorldTest.Example().Run(args); //o + // new Test1.Example().Run(args); //o + //new SiblingOrderTest.Example().Run(args); //o //new UserAlphaFunctionTest.Example().Run(args); //o //new MyCSharpExample.Example().Run(args); //o //new CustomControlTest.Example().Run(args); //o @@ -36,7 +37,7 @@ namespace NUISamples.TizenTV.examples //new VisualsUsingCustomView.VisualsExample().Run(args); //o //new FirstScreen.FirstScreenApp().Run(args); //o //new PositionUsesAnchorPointTest.Example().Run(args); - //new TizenVDUIApplication19.Program().Run(args); + new TizenVDUIApplication19.Program().Run(args); } } } diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/control-dashboard.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/control-dashboard.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/custom-control.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/custom-control.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/dali-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/dali-test.cs index ee00d88..e7c54c7 100755 --- a/NUISamples/NUISamples/NUISamples.TizenTV/examples/dali-test.cs +++ b/NUISamples/NUISamples/NUISamples.TizenTV/examples/dali-test.cs @@ -612,16 +612,16 @@ namespace DaliTest Tizen.Log.Debug("NUI", "window type is "+type); window.Type = WindowType.Notification; - NotificationLevelType level = window.GetNotificationLevel(); - window.SetNotificationLevel(NotificationLevelType.High); + NotificationLevel level = window.GetNotificationLevel(); + window.SetNotificationLevel(NotificationLevel.High); level = window.GetNotificationLevel(); Tizen.Log.Debug("NUI", "window notification level is " + level); window.SetOpaqueState(true); Tizen.Log.Debug("NUI", "window is opaque? " + window.IsOpaqueState()); - window.SetScreenMode(ScreenModeType.AlwaysOn); - ScreenModeType screenMode = window.GetScreenMode(); + window.SetScreenMode(ScreenMode.AlwaysOn); + ScreenMode screenMode = window.GetScreenMode(); Tizen.Log.Debug("NUI", "window screen mode is " + screenMode); bool ret = window.SetBrightness(50); diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker-using-json/ViewRegistryHelper.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker-using-json/ViewRegistryHelper.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker-using-json/date-picker-using-json.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker-using-json/date-picker-using-json.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/flex-container.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/flex-container.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs index e85018c..a2e21d8 100755 --- a/NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs +++ b/NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs @@ -3,6 +3,7 @@ using Tizen.Applications; using System.Collections.Generic; using System; using Tizen.NUI.BaseComponents; +using Tizen.NUI.UIComponents; namespace TizenVDUIApplication19 { @@ -14,6 +15,7 @@ namespace TizenVDUIApplication19 private List myViewList; private const int numberOfObjects = 500; private Random myRandom; + private const string resources = "/home/owner/apps_rw/NUISamples.TizenTV/res"; protected override void OnCreate() { @@ -62,7 +64,148 @@ namespace TizenVDUIApplication19 GC.Collect(); GC.WaitForPendingFinalizers(); - for (int i = 0; i < numberOfObjects; i++) + for (int i = 0; i < 50; i++) + { + TextLabel v = new TextLabel(); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + v.Text = "label " + i; + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 50; i < 100; i++) + { + PushButton v = new PushButton(); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + v.LabelText = "button " + i; + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 100; i < 150; i++) + { + ImageView v = new ImageView(); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + v.ResourceUrl = resources + "/images/gallery-3.jpg"; + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 150; i < 200; i++) + { + TextEditor v = new TextEditor(); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + v.Text = "editor" + i; + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 200; i < 250; i++) + { + TextField v = new TextField(); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + v.Text = "field " + i; + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 250; i < 300; i++) + { + CheckBoxButton v = new CheckBoxButton(); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + v.LabelText = "check " + i; + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 300; i < 350; i++) + { + ScrollBar v = new ScrollBar(); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 350; i < 400; i++) + { + Slider v = new Slider(); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 400; i < 450; i++) + { + TableView v = new TableView(1, 1); + + float intensity = myRandom.Next(0, 255) / 255.0f; + v.BackgroundColor = new Color(intensity, intensity, intensity, 1); + v.Position = new Position(myRandom.Next(0, 1820), myRandom.Next(0, 980), 0); + v.AnchorPoint = AnchorPoint.TopLeft; + v.Size = new Size(100, 100, 0); + + myViewList.Add(v); + + Window.Instance.GetDefaultLayer().Add(v); + } + + for (int i = 450; i < numberOfObjects; i++) { View v = new View(); diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/hello-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/hello-test.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/image-view.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/image-view.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/positionUsesAnchorPoint-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/positionUsesAnchorPoint-test.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/relative-vector.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/relative-vector.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/scroll-view.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/scroll-view.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/sibling-order-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/sibling-order-test.cs new file mode 100755 index 0000000..fbd1942 --- /dev/null +++ b/NUISamples/NUISamples/NUISamples.TizenTV/examples/sibling-order-test.cs @@ -0,0 +1,193 @@ +// Copyright (c) 2017 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + + +using System; +using Tizen.NUI; +using Tizen.NUI.UIComponents; +using Tizen.NUI.BaseComponents; +using System.Collections.Generic; + + +// 1) sibling order test +namespace SiblingOrderTest +{ + class Example : NUIApplication + { + public Example() : base() + { + } + + public Example(string stylesheet) : base(stylesheet) + { + } + + public Example(string stylesheet, WindowMode windowMode) : base(stylesheet, windowMode) + { + } + + protected override void OnCreate() + { + base.OnCreate(); + Initialize(); + } + + Window _window; + + public void Initialize() + { + _window = Window.Instance; + _window.BackgroundColor = Color.White; + + // sibling order test + // By default, the SiblingOrder is 0. + SiblingTest1(); + + // sibling order test + // Set the SiblingOrder 0 -> 9 + SiblingTest2(); + + // sibling order test + // Set the SiblingOrder 10 -> 1 + SiblingTest3(); + + // sibling order test + // Set the SiblingOrder 5 -> 1 & 0 -> 4 + SiblingTest4(); + + // sibling order test + // Set the SiblingOrder 0 -> 4 & 5 -> 1 + SiblingTest5(); + } + + public void SiblingTest1() + { + Position2D _myPos = new Position2D(100, 30); + + for (int i = 0; i < 10; i++) + { + PushButton _view = new PushButton(); + + _view.Name = "sibling" + i; + _view.LabelText = "view" + i; + _view.MinimumSize = new Size2D(100, 50); + _view.ParentOrigin = ParentOrigin.TopLeft; + _view.AnchorPoint = AnchorPoint.TopLeft; + _view.Position2D = _myPos + new Position2D(20 * i, 10 * i); + + _window.GetDefaultLayer().Add(_view); + } + } + + public void SiblingTest2() + { + Position2D _myPos = new Position2D(100, 180); + + for (int i = 0; i < 10; i++) + { + PushButton _view = new PushButton(); + + _view.Name = "sibling" + i; + _view.LabelText = "view" + i; + _view.MinimumSize = new Size2D(100, 50); + _view.ParentOrigin = ParentOrigin.TopLeft; + _view.AnchorPoint = AnchorPoint.TopLeft; + _view.Position2D = _myPos + new Position2D(20 * i, 10 * i); + _view.SiblingOrder = i; + + _window.GetDefaultLayer().Add(_view); + } + } + + public void SiblingTest3() + { + Position2D _myPos = new Position2D(100, 330); + + for (int i = 0; i < 10; i++) + { + PushButton _view = new PushButton(); + + _view.Name = "sibling" + i; + _view.LabelText = "view" + i; + _view.MinimumSize = new Size2D(100, 50); + _view.ParentOrigin = ParentOrigin.TopLeft; + _view.AnchorPoint = AnchorPoint.TopLeft; + _view.Position2D = _myPos + new Position2D(20 * i, 10 * i); + _view.SiblingOrder = 10-i; + + _window.GetDefaultLayer().Add(_view); + } + } + + public void SiblingTest4() + { + Position2D _myPos = new Position2D(100, 480); + + for (int i = 0; i < 10; i++) + { + PushButton _view = new PushButton(); + + _view.Name = "sibling" + i; + _view.LabelText = "view" + i; + _view.MinimumSize = new Size2D(100, 50); + _view.ParentOrigin = ParentOrigin.TopLeft; + _view.AnchorPoint = AnchorPoint.TopLeft; + _view.Position2D = _myPos + new Position2D(20 * i, 10 * i); + if (i<5) + { + _view.SiblingOrder = 5-i; + } + else + { + _view.SiblingOrder = i-5; + } + + _window.GetDefaultLayer().Add(_view); + } + } + + public void SiblingTest5() + { + Position2D _myPos = new Position2D(100, 630); + + for (int i = 0; i < 10; i++) + { + PushButton _view = new PushButton(); + + _view.Name = "sibling" + i; + _view.LabelText = "view" + i; + _view.MinimumSize = new Size2D(100, 50); + _view.ParentOrigin = ParentOrigin.TopLeft; + _view.AnchorPoint = AnchorPoint.TopLeft; + _view.Position2D = _myPos + new Position2D(20 * i, 10 * i); + if (i<5) + { + _view.SiblingOrder = i; + } + else + { + _view.SiblingOrder = 10-i; + } + + _window.GetDefaultLayer().Add(_view); + } + } + + static void _Main(string[] args) + { + Example example = new Example(); + example.Run(args); + } + } +} diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/test1.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/test1.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/text-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/text-test.cs new file mode 100755 index 0000000..a00a794 --- /dev/null +++ b/NUISamples/NUISamples/NUISamples.TizenTV/examples/text-test.cs @@ -0,0 +1,102 @@ +/* +* Copyright (c) 2016 Samsung Electronics Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +*/ + +using System; +using System.Runtime.InteropServices; +using Tizen.NUI; +using Tizen.NUI.UIComponents; +using Tizen.NUI.BaseComponents; +using Tizen.NUI.Constants; + +namespace TextTest +{ + class Example : NUIApplication + { + public Example() : base() + { + } + + public Example(string stylesheet) : base(stylesheet) + { + } + + public Example(string stylesheet, WindowMode windowMode) : base(stylesheet, windowMode) + { + } + + protected override void OnCreate() + { + base.OnCreate(); + Initialize(); + } + + public void Initialize() + { + Window window = Window.Instance; + window.BackgroundColor = Color.White; + + TextLabel pixelLabel = new TextLabel("Test Pixel Size 32.0f"); + pixelLabel.Position2D = new Position2D(10, 10); + pixelLabel.PixelSize = 32.0f; + pixelLabel.BackgroundColor = Color.Magenta; + window.GetDefaultLayer().Add(pixelLabel); + + TextLabel pointLabel = new TextLabel("Test Point Size 32.0f"); + pointLabel.Position2D = new Position2D(10, 100); + pointLabel.PointSize = 32.0f; + pointLabel.BackgroundColor = Color.Red; + window.GetDefaultLayer().Add(pointLabel); + + TextLabel ellipsis = new TextLabel("Ellipsis of TextLabel is enabled."); + ellipsis.Size2D = new Size2D(100, 80); + ellipsis.Position2D = new Position2D(10, 200); + ellipsis.PointSize = 20.0f; + ellipsis.Ellipsis = true; + ellipsis.BackgroundColor = Color.Cyan; + window.GetDefaultLayer().Add(ellipsis); + + TextLabel autoScrollStopMode = new TextLabel("AutoScrollStopMode is finish-loop."); + autoScrollStopMode.Size2D = new Size2D(400, 50); + autoScrollStopMode.Position2D = new Position2D(10, 300); + autoScrollStopMode.PointSize = 15.0f; + autoScrollStopMode.BackgroundColor = Color.Green; + autoScrollStopMode.AutoScrollStopMode = AutoScrollStopMode.FinishLoop; + autoScrollStopMode.EnableAutoScroll = true; + window.GetDefaultLayer().Add(autoScrollStopMode); + + TextField field = new TextField(); + field.Size2D = new Size2D(400, 100); + field.Position2D = new Position2D(10, 400); + field.BackgroundColor = Color.Cyan; + field.PlaceholderText = "input someth..."; + PropertyMap hiddenMap = new PropertyMap(); + hiddenMap.Add(HiddenInputProperty.Mode, new PropertyValue((int)HiddenInputModeType.ShowLastCharacter)); + hiddenMap.Add(HiddenInputProperty.ShowDuration, new PropertyValue(2)); + hiddenMap.Add(HiddenInputProperty.SubstituteCount, new PropertyValue(4)); + hiddenMap.Add(HiddenInputProperty.SubstituteCharacter, new PropertyValue(0x23)); + field.HiddenInputSettings = hiddenMap; + window.GetDefaultLayer().Add(field); + } + + [STAThread] + static void _Main(string[] args) + { + Example example = new Example(); + example.Run(args); + } + } +} diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/ttsplayer-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/ttsplayer-test.cs new file mode 100755 index 0000000..dfdb90d --- /dev/null +++ b/NUISamples/NUISamples/NUISamples.TizenTV/examples/ttsplayer-test.cs @@ -0,0 +1,68 @@ +/* +* Copyright (c) 2016 Samsung Electronics Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +*/ + +using System; +using Tizen.NUI; + +namespace TTSPlayerTest +{ + class Example : NUIApplication + { + public Example() : base() + { + } + + public Example(string stylesheet) : base(stylesheet) + { + } + + public Example(string stylesheet, WindowMode windowMode) : base(stylesheet, windowMode) + { + } + + protected override void OnCreate() + { + base.OnCreate(); + Initialize(); + } + + public void Initialize() + { + Window window = Window.Instance; + window.BackgroundColor = Color.White; + + TTSPlayer ttsPlayer = TTSPlayer.Get(TTSPlayer.TTSMode.Default); + ttsPlayer.Play("tts player test"); + + ttsPlayer.StateChanged += (s, e) => + { + Tizen.Log.Debug("TTS state changed!!!"); + }; + ttsPlayer.Pause(); + ttsPlayer.Resume(); + ttsPlayer.Stop(); + Tizen.Log.Debug("TTS state: " + ttsPlayer.GetState()); + } + + [STAThread] + static void _Main(string[] args) + { + Example example = new Example(); + example.Run(args); + } + } +} diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/user-alphafunction.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/user-alphafunction.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/view-navi-property.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/view-navi-property.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test2.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test2.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test3.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test3.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-example.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-example.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-using-custom-view/ContactData.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-using-custom-view/ContactData.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-using-custom-view/ContactView.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-using-custom-view/ContactView.cs old mode 100755 new mode 100644 diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-using-custom-view/visuals-using-custom-view.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-using-custom-view/visuals-using-custom-view.cs old mode 100755 new mode 100644 diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/Xamarin.Forms.2.3.4.192-pre2.nupkg b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/Xamarin.Forms.2.3.4.192-pre2.nupkg new file mode 100755 index 0000000..f4239c4 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/Xamarin.Forms.2.3.4.192-pre2.nupkg differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Mdb.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Mdb.dll new file mode 100755 index 0000000..ec642e8 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Mdb.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Pdb.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Pdb.dll new file mode 100755 index 0000000..5ea4d39 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Pdb.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Rocks.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Rocks.dll new file mode 100755 index 0000000..1f4123a Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.Rocks.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.dll new file mode 100755 index 0000000..4446eae Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Mono.Cecil.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Build.Tasks.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Build.Tasks.dll new file mode 100755 index 0000000..2ca1557 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Build.Tasks.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Core.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Core.dll new file mode 100755 index 0000000..919e957 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Core.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Xaml.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Xaml.dll new file mode 100755 index 0000000..62ca51d Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.Xaml.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets new file mode 100755 index 0000000..1282525 --- /dev/null +++ b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets @@ -0,0 +1,69 @@ + + + + + + + + XamlG; + $(CoreCompileDependsOn); + + + + + + $(CompileDependsOn); + XamlC; + + + + + + + + + + _PreXamlG; + _CollectXamlFiles; + _CoreXamlG; + + + + + + + + + + <_XamlResources Include="@(EmbeddedResource)" Condition="'%(Extension)' == '.xaml' AND '$(DefaultLanguageSourceExtension)' == '.cs'"/> + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Design/Xamarin.Forms.Core.Design.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Design/Xamarin.Forms.Core.Design.dll new file mode 100755 index 0000000..d446c8c Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Design/Xamarin.Forms.Core.Design.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Design/Xamarin.Forms.Xaml.Design.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Design/Xamarin.Forms.Xaml.Design.dll new file mode 100755 index 0000000..6309a21 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Design/Xamarin.Forms.Xaml.Design.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/FormsViewGroup.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/FormsViewGroup.dll new file mode 100755 index 0000000..e124e16 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/FormsViewGroup.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/FormsViewGroup.pdb b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/FormsViewGroup.pdb new file mode 100755 index 0000000..8476071 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/FormsViewGroup.pdb differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.dll b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.dll new file mode 100755 index 0000000..d6d74e1 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.dll differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.pdb b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.pdb new file mode 100755 index 0000000..10c0020 Binary files /dev/null and b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.pdb differ diff --git a/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.xml b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.xml new file mode 100755 index 0000000..267e089 --- /dev/null +++ b/NUISamples/packages/Xamarin.Forms.2.3.4.192-pre2/lib/MonoAndroid10/Xamarin.Forms.Core.xml @@ -0,0 +1,18163 @@ + + + Xamarin.Forms.Core + + + + Positions child elements at absolute positions. + + Application developers can control the placement of child elements by providing proportional coordinates, device coordinates, or a combination of both, depending on the values that are passed to method. When one of the proportional enumeration values is provided, the corresponding X, or Y arguments that range between 0.0 and 1.0 will always cause the child to be displayed completely on screen. That is, you do not need to subtract or add the height or width of a child in order to display it flush with the left, right, top, or bottom of the . For width, height, X, or Y values that are not specified proportionally, application developers use device-dependent units to locate and size the child element. + + The following example shows how to use an with proportional position arguments. + + The code sample below shows how to place two labels by specifying device-dependent units. + + + The following image shows the AbsoluteLayout demo from the FormsGallery sample. + + + + + + XAML for Xamarin.Forms supports the following attached properties for the class: + + + Attached Property + Value + + + AbsoluteLayout.LayoutBounds + + A comma-separated list—possibly with spaces—of four values that specify the bounding rectangle's position and dimensions. The first two values in the list must represent numbers. The latter two values may each either be numbers, or the string "AutoSize". The AbsoluteLayout.LayoutFlags attached property determines how the values in the list are interpreted to create the bounding rectangle. + + + + AbsoluteLayout.LayoutFlags + + + enumeration value names: All, None, HeightProportional, WidthProportional, SizeProportional, XProportional, YProportional, or PositionProportional. Application developers can combine any of these flags together by supplying a comma-separated list. + + + + Application developers can use XAML to lay out elements with the class. The example below places a blue inside an : + + + +]]> + + The class can lay its child elements out in proportional units, device units, or a combination of both. Application developers should remember the following points when specifying a structure that will define the layout bounds of a child element: + For elements whose height and width fit on the screen, proportional position dimensions in the range [0,1] represent elements that are completely on the screen, regardless of whether the height, width, or both are specified in device or proportional units.The above point means that, to specify an element in the lower right hand corner of the screen and that is half as wide and half as all as the screen, with a value of All, the application developer would specify "1.0, 1.0, 0.5, 0.5".The app developer can inadvertently cause child elements for which one or both size dimensions were specified proportionally to be displayed partially off the screen, or hidden altogether, by specifying device-unit positions that do not leave enough room for the calculated size of the child.Each part of the bounding structure is interpreted according to the value that controls it. A given rectangle might, for example, have an X-coordinate that is in device units, a Y-coordinate that is in proportional units, a height that is in proportional units, and a width that is in device units, or any other combination of device and proportional units. Rectangles that, when interpreted by using the current set on the child, represent bounding boxes that are partially or wholly off-screen—for example, by having a width that is larger than the screen width—may give unexpected results. + + + + Initializes a new instance of the AbsoluteLayout class. + To be added. + + + A value that indicates that the width or height of the child should be sized to that childs native size. + + + Application developers can set the width or height of the property to on a visual element when adding to the layout to cause that element to be measured during the layout pass and sized appropriately. + + + + Gets the collection of child elements of the AbsoluteLayout. + The collection of child elements. + + Application developers can use implicit collection syntax in XAML to add items to this collection, because this property is the ContentPropertyAttribute for the AbsoluteLayout class. + + + + A visual element. + Gets the layout bounds of . + The layout bounds of the object. + + This method supports the AbsoluteLayout.LayoutBounds XAML attached property. In XAML, Application developers can specify a comma-separated list—possibly with spaces—of four values that specify the bounding rectangle's position and dimensions. The first two values in the list must represent numbers. The latter two values may each either be numbers, or the string "AutoSize". The AbsoluteLayout.LayoutFlags attached property determines how the values in the list are interpreted to create the bounding rectangle. + + + + A visual element. + Gets the layout flags that were specified when was added to an . + The layout flags of the object. + + This method supports the AbsoluteLayout.LayoutFlags XAML attached property. In XAML, Application developers can specify the following enumeration value names for the value of this property on the children of a : + + + + All + + + + + None + + + + + HeightProportional + + + + + WidthProportional + + + + + SizeProportional + + + + + XProportional + + + + + YProportional + + + + + PositionProportional + + + + Application developers can combine any of the above values by supplying a comma-separated list. + + + + Implements the attached property that represents the layout bounds of child elements. Bindable at run time with the string "LayoutBounds". See Remarks. + The interface for this property is defined by the and methods. + + + + The X coordinate of the region that contains the child elements and that is used to calulate proportional values. + The Y coordinate of the region that contains the child elements and that is used to calulate proportional values. + The width of the the region that contains the child elements and that is used to calulate proportional values. + The height of the region that contains the child elements and that is used to calulate proportional values. + Positions and sizes the children of an AbsoluteLayout. + + Application developers can override to change the default behavior of . When doing so, it is recommended to call the base method and then modify the dimensions and locations of the children directly. + + + + Implements the attached property that contains the values for child elements. + The interface for this property is defined by the and methods. + + + + The element that was added to the children. + Called when a child is added to the . + + Application developers can override to change the default behavior thata is triggered when a child is added. When doing so, it is recommended to call the base method and then add additional logic. + + + + The element that was removed from the children. + Called when a child is removed from the . + + Application developers can override to change the default behavior thata is triggered when a child is removed. When doing so, it is recommended to call the base method and then add additional logic. + + + + The available width for the AbsoluteLayout to use. + The available height for the AbsoluteLayout to use. + Called during the measure pass of a layout cycle to get the desired size of the AbsoluteLayout. + A which contains the desired size of the AbsoluteLayout. + + Application developers can override to change the default behavior thata is triggered when a child is removed. When doing so, it is recommended to call the base method and then modify the dimensions and locations of the children directly. + + + + The view to delimit by . + A rectangle that represents the desired size and shape of . + Sets the layout bounds of a view that will be used to size it when it is layed out. + + This method supports the AbsoluteLayout.LayoutBounds XAML attached property. In XAML, Application developers can specify a comma-separated list—possibly with spaces—of four values that specify the bounding rectangle's position and dimensions. The first two values in the list must represent numbers. The latter two values may each either be numbers, or the string "AutoSize". The AbsoluteLayout.LayoutFlags attached property determines how the values in the list are interpreted to create the bounding rectangle. Application developers can call this method to update the layout of a view after it is added. + + + + The view on which to set the layout flags. + A that describes the how to interpret the layout bounds for . + Sets the layout flags of a view that will be used to interpret the layout bounds set on it when it is added to the layout. + + This method supports the AbsoluteLayout.LayoutFlags XAML attached property. In XAML, Application developers can specify the following enumeration value names for the value of this property on the children of a : + + + + All + + + + + None + + + + + HeightProportional + + + + + WidthProportional + + + + + SizeProportional + + + + + XProportional + + + + + YProportional + + + + + PositionProportional + + + + Application developers can combine any of the above values by supplying a comma-separated list. Application developers can call this method to update the layout flags of a view after it is added. + + + + The type of elements in the absolute layout. + List interface with overloads for adding elements to an absolute layout. + + + + The view to add. + The location at which to position the view. + Adds a view to the list at the specified location with automatic sizing. + + + + The view to add. + The bounds to layout the view with. + The flags to interpret bounds with. + Adds a view to the list with the specified bounds and flags. + + + + Flags used to modify how layout bounds are interpreted in an . + + The class can lay its child elements out in proportional units, device units, or a combination of both. Application developers should remember the following points when specifying a structure that will define the layout bounds of a child element: + For elements whose height and width fit on the screen, proportional position dimensions in the range [0,1] represent elements that are completely on the screen, regardless of whether the height, width, or both are specified in device or proportional units.The above point means that, to specify an element in the lower right hand corner of the screen and that is half as wide and half as all as the screen, with a value of All, the application developer would specify "0.1, 0.1, 0.5, 0.5".The app developer can inadvertently cause child elements for which one or both size dimensions were specified proportionally to be displayed partially off the screen, or hidden altogether, by specifying device-unit positions that do not leave enough room for the calculated size of the child.Each part of the bounding structure is interpreted according to the value that controls it. A given rectangle might, for example, have an X-coordinate that is in device units, a Y-coordinate that is in proportional units, a height that is in proportional units, and a width that is in device units, or any other combination of device and proportional units. Rectangles that, when interpreted by using the current set on the child, represent bounding boxes that are partially or wholly off-screen—for example, by having a width that is larger than the screen width—may give unexpected results. + + + + Interpret all dimensions proportionally. + + + Interpret height property as proportional to layout height. + + + Disable all flags. + + + Equivalent to both XProportional | YProportional. + + + Equivalent to both WidthProportional | HeightProportional. + + + Interpret width property as proportional to layout width. + + + Interpret x property as proportional to the remaining space after width is accounted for. + + + Interpret y property as proportional to the remaining space after height is accounted for. + + + A visual control used to indicate that something is ongoing. + + This control gives a visual clue to the user that something is happening, without information about its progress. + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Color + + A color specification, with or without the prefix, "Color". For example, "Color.Red" and "Red" both specify the color red. + + + + IsRunning + + + or , to indicate whether the animation for is displayed. + + + + + The example below creates a red activity indicator that is animated to imply that an activity is ongoing: + ]]> + + + + + Initializes a new instance of the ActivityIndicator class. + + The following example shows the initialization of a running ActivityIndicator. + + + + + + + + Gets or sets the of the ActivityIndicator. This is a bindable property. + A used to display the ActivityIndicator. Default is . + + + + Identifies the Color bindable property. + + + + Gets or sets the value indicating if the ActivityIndicator is running. This is a bindable property. + A indicating if the ActivityIndicator is running. + + + + Identifies the Color bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Encapsulates an animation, a collection of functions that modify properties over a user-perceptible time period. + To be added. + + + Creates a new object with default values. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + Creates a new object with the specified parameters. + To be added. + + + To be added. + To be added. + To be added. + Adds an object to this that begins at and finishes at . + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + Runs the animation with the supplied parameters. + To be added. + + + Returns a callback that recursively runs the eased animation step on this object and those of its children that have begun and not finished. + A callback that recursively runs the eased animation step on this object and those of its children that have begun and not finished. + To be added. + + + Returns an enumerator that can be used to iterate over the child objects of this object. + To be added. + To be added. + + + To be added. + To be added. + To be added. + Adds an object to this that begins at and finishes at . + To be added. + To be added. + + + To be added. + To be added. + To be added. + Adds to the children of this object and sets the start and end times of to and , respectively. + To be added. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + Creates a new object with the specified parameters, and adds it to the children of this object. + To be added. + To be added. + + + Extension methods for . + To be added. + + + To be added. + To be added. + Stops the animation. + To be added. + If refers to an animation that belongs to this instance, then its tweener handlers are removed, the tweener is stopped, the animation is removed from this instance, and it is marked as finished. If refers to one of the kinetics that belong to this instance, then it and its ticker are removed. + + + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + Sets the specified parameters and starts the animation. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + Sets the specified parameters and starts the animation. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + Sets the specified parameters and starts the animation. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + Sets the specified parameters and starts the animation. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + Sets the specified parameters and starts the kinetic animation. + To be added. + + + To be added. + To be added. + Returns a Boolean value that indicates whether or not the animation that is specified by is running. + To be added. + To be added. + + + To be added. + To be added. + To be added. + To be added. + Returns a function that performs a linear interpolation between and . + A function that performs a linear interpolation between and . Application developers can pass values between 0.0f and 1.0f to this function in order to recieve a value that is offset from or , depending on the value of , by the passed value times the distance between and . + If is , then the interpolation happens between and . + + + Class that represents a cross-platform mobile application. + To be added. + + + Initializes a new instance. + To be added. + + + Gets the object that developers use to register or unregister application links. + The object that developers use to register or unregister application links. + It is not possible to unregister an app link on the Android platform. + Application Indexing and Deep Linking + + + Gets the current application. + To be added. + To be added. + + + Gets or sets the main page of the application. + To be added. + This property throws an exception if the application developer attempts to set it to . + + + Event that is raised after a view has been popped modally. + To be added. + + + Event that is raised when a view is modally popped. + To be added. + + + Event that is raised after a view has been pushed modally. + To be added. + + + Event that is raised when a view is modally pushed. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + The URI for the request. + App developers override this method to respond when the user initiates an app link request. + To be added. + Application Indexing and Deep Linking + + + Throws . + To be added. + + + Application developers override this method to perform actions when the application resumes from a sleeping state. + To be added. + + + Application developers override this method to perform actions when the application enters the sleeping state. + To be added. + + + Application developers override this method to perform actions when the application starts. + To be added. + + + Gets the dictionary of properties for this object. + To be added. + To be added. + + + Gets or sets the resource dictionary for this object. + To be added. + To be added. + + + Asynchronously persists the dictionary for the application object. + To be added. + To be added. + + + To be added. + Internal. Do not use. + To be added. + + + A deep application link in an app link search index. + To be added. + Application Indexing and Deep Linking + + + Creates a new with default values. + To be added. + + + Gets or sets an application-specific URI that uniquely describes content within an app. + An application-specific URI that uniquely describes content within an app. + To be added. + Application Indexing and Deep Linking + + + Backing store for the property. + To be added. + + + Gets or sets a description that appears with the item in search results. + The description that appears with the item in search results. + To be added. + Application Indexing and Deep Linking + + + Backing store for the property. + To be added. + + + To be added. + Creates and returns a new for the specified . + To be added. + To be added. + + + Gets or sets a value that tells whether the item that is identified by the link entry is currently open. + A value that tells whether the item that is identified by the link entry is currently open. + Application developers can set this value in and methods to control whether the app link is shown for indexing or Handoff. + Application Indexing and Deep Linking + + + Backing store for the property. + To be added. + Application Indexing and Deep Linking + + + Gets a dictionary of application-specific key-value pairs. + A dictionary of standard and application-specific key-value pairs that is used for Handoff on the iOS platform. + The standard keys are contentType, associatedWebPage, and shouldAddToPublicIndex. + Application Indexing and Deep Linking + + + Gets or sets a small image that appears with the item in search results. + A small image that appears with the item in search results + To be added. + Application Indexing and Deep Linking + + + Backing store for the property. + To be added. + + + Gets or sets the title of the item. + The title of the item. + To be added. + Application Indexing and Deep Linking + + + Backing store for the property. + To be added. + + + Returns a string representation of this . + A string representation of this . + To be added. + + + Defines how an image is displayed. + + + + Scale the image to fill the view. Some parts may be clipped in order to fill the view. + + + + Scale the image to fit the view. Some parts may be left empty (letter boxing). + + + Scale the image so it exactly fills the view. Scaling may not be uniform in X and Y. + + + Internal use only. Contains arguments for the event that is raised when a back button is pressed. + To be added. + + + Internal use only. Initializes a new instance. + To be added. + + + Internal use only. Gets or sets a value that indicates whether the back button event has already been handled. + To be added. + To be added. + + + Base class for menu items. + To be added. + + + Intializes a new instance. + To be added. + + + Base class for generalized user-defined behaviors that can respond to arbitrary conditions and events. + Application developers should specialize the generic class, instead of directly using . + + + Gets the type of the objects with which this can be associated. + To be added. + To be added. + + + To be added. + Application developers override this method to implement the behaviors that will be associated with . + To be added. + + + To be added. + Application developers override this method to remove the behaviors from that were implemented in a previous call to the method. + To be added. + + + To be added. + Attempts to attach to . If successful, calls the method. + To be added. + + + To be added. + Detaches from . Calls the method. + To be added. + + + The type of the objects with which this can be associated. + Base generic class for generalized user-defined behaviors that can respond to arbitrary conditions and events. + Application developers should specialize this generic class, instead of directly using . + + + Creates a new instance. + + + + To be added. + Application developers override this method to implement the behaviors that will be associated with . + To be added. + + + To be added. + Attaches to the superclass and then calls the method on this object. + To be added. + + + To be added. + Application developers override this method to remove the behaviors from that were implemented in a previous call to the method. + To be added. + + + To be added. + Calls the method and then detaches from the superclass. + To be added. + + + Provides a mechanism by which application developers can propagate changes that are made to data in one object to another, by enabling validation, type coercion, and an event system. . + + The class provides a data storage mechanism that enables the application developer to synchronize data between objects in response to changes, for example, between the View and View Model in the MVVM design pattern. All of the visual elements in the namespace inherit from class, so they can all be used to bind the data behind their user interface elements to View Models that are supplied by the application developer. + + To bind the data behind a property in a , typically a view, to a property in the View Model, application developers should do the following. + First, the developer creates a pair of properties on the view, one of which is a , and the other of which is a property of whatever type is required. In the code below, MockBindableObject stands in for what would typically be a user interface object in production code. Application developers should note the use of and to get and set the value on the bound property; The property of the desired type provides the interface that the target of the bound property will implement. + ( + // o => o.Foo, default (string) + // ); + + public string BoundName + { + get { return (string) GetValue (BoundNameProperty); } + set { SetValue (BoundNameProperty, value); } + } +} + ]]> + Second, the developer creates the implementation for the bound property in a class that implements the interface. In the MVVM design pattern, this is typically done by the View Model. Application developers should implement the interface on classes that they want to use as View Models. In the example below, app developers should take note of the idiomatic way that the Name property is implemented to, first, ensure that the property actually changed and return if it did not, and only then assign the value and call the method. Additionally, the Name property in the example below merely wraps the name field. In practice, the application developer may choose a different model in which to store application data. + + Third, and finally, the application developer binds an instance of a BindableObject to an instance that implements INotifyPropertyChanged. In the vocabulary of the MVVM design pattern, this is "binding an instance of the View to an instance of a View Model." Once this step is complete, changes in the data are propagated between the View and View Model in a way that is determined by the value of the enumeration, if any, that was passed during the binding step. + The code below, when included in a project that reference the classes above, creates an instance of both MockBindable and MockViewModel, performs some intitialization, sets the binding, and then demonstrates a one-way binding. The code below runs without throwing an exception. + + + + + + Initializes a new instance of the BindableObject class. + The class is abstract, and this constructor is protected. It is invoked by child constructors. + + + To be added. + To be added. + + + The object that contains the properties that will be targeted by the bound properties that belong to this . This parameter is optional. + Apply the bindings to this. + + If an object is passed for the argument, bindings are first unapplied from . This method removes any current bindings from the old context, and applies every binding to the current . Application developers could use this method to bind the UI from a new View to an existing ViewModel, while optionally removing the bindings from the old View. Application developers can omit the argument in order to leave the old bindings in place. + + + + Gets or sets object that contains the properties that will be targeted by the bound properties that belong to this . + An that contains the properties that will be targeted by the bound properties that belong to this . This is a bindable property. + + Typically, the runtime performance is better if is set after all calls to have been made. + The following example shows how to apply a BindingContext and a Binding to a Label (inherits from BindableObject): + + + + + + + Raised whenever the property changes. + + + + Implements the bound property whose interface is provided by the property. + + Typically, the runtime performance is better if is set after all calls to have been made. + The following example shows how to set a binding to the BindingContext: + + + + + + + The BindableProperty to clear. + Clears any value set by for . + + Calling this method on a readonly property will result in an InvalidOperationException. + + + + The BindablePropertyKey that identifies the to clear. + Clears any value set by for the property that is identified by . + + Calling this method on a readonly property will result in an InvalidOperationException. + + + + The BindableProperty for which to get the value. + Returns the value that is contained the BindableProperty. + The value that is contained the . + + + and are used to access the values of properties that are implemented by a . That is, application developers typically provide an interface for a bound property by defining property whose accessor casts the result of to the appropriate type and returns it, and whose accessor uses to set the value on the correct property. Application developers should perform no other steps in the public property that defines the interface of the bound property. + + The following example shows how to create a bindable property interface for an implementation that will be provided in the target property when the binding is made at run time. + (w => w.My, default(string)); + + public string My { + get { return (string)GetValue (MyProperty); } + set { SetValue (MyProperty, value); } + } +} + ]]> + + + + + Override this method to execute an action when the BindingContext changes. + + + + The name of the property that changed. + Call this method from a child class to notify that a change happened on a property. + + A triggers this by itself. An inheritor only needs to call this for properties without as the backend store. + + + + The name of the property that is changing. + Call this method from a child class to notify that a change is going to happen on a property. + A triggers this by itself. An inheritor only needs to call this for properties without as the backend store. + + + Raised when a property has changed. + + + + Raised when a property is about to change. + + + + The BindableProperty from which to remove bindings. + Removes a previously set binding. + + This method succeeds even if is not bound. + + + + The BindableProperty on which to set a binding. + The binding to set. + Assigns a binding to a property. + + The following example shows how to set a binding to a property: + + + + + + + The object on which to set the inherited binding context. + The inherited context to set. + Sets the inherited context to a nested element. + + + + The BindableProperty on which to assign a value. + The value to set. + Sets the value of the specified property. + + + and are used to access the values of properties that are implemented by a . That is, application developers typically provide an interface for a bound property by defining property whose accessor casts the result of to the appropriate type and returns it, and whose accessor uses to set the value on the correct property. Application developers should perform no other steps in the public property that defines the interface of the bound property. + + The following example shows how to create a bindable property interface for an implementation that will be provided in the target property when the binding is made at run time. + (w => w.My, default(string)); + + public string My { + get { return (string)GetValue (MyProperty); } + set { SetValue (MyProperty, value); } + } +} + ]]> + + + + + The BindablePropertyKey on which to assign a value. + The value to set. + Sets the value of the propertyKey. + + This method and are useful to implement BindableProperties with limited write access. The write access is limited to the scope of the BindablePropertyKey. + The following example shows how to declare a BindableProperty with "internal" write access. + + (w => w.My, default(string)); + public static readonly BindableProperty MyProperty = MyPropertyKey.BindableProperty; + + public string My { + get { return (string)GetValue (MyProperty); } + internal set { SetValue (MyPropertyKey, value); } + } +} + ]]> + + + + + Unapplies all previously set bindings. + + This method removes all current bindings from the current context. + Changing a bound property requires that the binding count for a bound property must be 0. The method merely decrements the cound, and does not remove all bindings everywhere. + + + + To be added. + To be added. + For internal use only. + To be added. + + + To be added. + To be added. + For internal use only. + To be added. + + + Contains convenience extension methods for . + + + + The . + The BindableProperty on which to set a binding. + A indicating the property path to bind to. + Creates and applies a binding to a property. + + The following example shows how to use the extension method to set a binding. + + + + + + + The . + The BindableProperty on which to set a bindinge. + A indicating the property path to bind to. + The for the binding. This parameter is optional. Default is . + An for the binding. This parameter is optional. Default is . + A string used as stringFormat for the binding. This parameter is optional. Default is . + Creates and applies a binding to a property. + + The following example shows how to use the extension method to set a binding. + + + + + + + The source type. + The BindableObject. + The BindableProperty to bind to + An expression used to retrieve the source path. + The BindingMode for the binding. This parameter is optional. Default is . + An IValueConverter for the binding. This parameter is optional. Default is . + A string used as stringFormat for the binding. This parameter is optional. Default is . + Creates and applies a binding from an expression. + + This extension method uses Expression instead of path to creates and sets bindings. Using Expressions is more refactoring friendly. + This following example illustrates the setting of a binding using the extension method. + + (Label.TextProperty, vm => vm.Name); +label.BindingContext = new PersonViewModel { + Name = "John Doe", + Company = "Xamarin" +}; +Debug.WriteLine (label.Text); //prints "John Doe" + ]]> + + + + + A BindableProperty is a backing store for properties allowing bindings on . + + Introduction To Data Binding + + + The name of the BindableProperty. + The type of the property. + The type of the declaring object. + The default value for the property. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + A delegate to be ran when the value has changed. This parameter is optional. Default is null. + A delegate to be ran when the value will change. This parameter is optional. Default is null. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + Creates a new instance of the BindableProperty class. + A newly created BindableProperty. + + + + The name of the BindableProperty. + The type of the property. + The type of the declaring object. + The default value for the property. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + A delegate to be ran when the value has changed. This parameter is optional. Default is null. + A delegate to be ran when the value will change. This parameter is optional. Default is null. + To be added. + A Func used to initialize default value for reference types.. + Creates a new instance of the BindableProperty class. + A newly created BindableProperty. + To be added. + + + The type of the declaring object. + The type of the property. + An expression identifying the getter for the property using this BindableProperty as backing store. + Default value for the BindableProperty. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + To be added. + To be added. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + Deprecated. Do not use. + A newly created BindableProperty. + To be added. + + + The type of the declaring object. + The type of the property. + An expression identifying the getter for the property using this BindableProperty as backing store. + Default value for the BindableProperty. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + To be added. + To be added. + To be added. + A Func used to initialize default value for reference types.. + Deprecated. Do not use. + A newly created BindableProperty. + + + + The name of the BindableProperty. + The type of the property. + The type of the declaring object. + The default value for the property. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + A delegate to be ran when the value has changed. This parameter is optional. Default is null. + A delegate to be ran when the value will change. This parameter is optional. Default is null. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + Creates a new instance of the BindableProperty class for an attached property. + A newly created attached BindableProperty. + + + + The name of the BindableProperty. + The type of the property. + The type of the declaring object. + The default value for the property. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + A delegate to be ran when the value has changed. This parameter is optional. Default is null. + A delegate to be ran when the value will change. This parameter is optional. Default is null. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + A Func used to initialize default value for reference types.. + Creates a new instance of the BindableProperty class for an attached property. + A newly created attached BindableProperty. + + + + The type of the declaring object. + The type of the property. + An expression identifying a static method returning the value of the property using this BindableProperty as backing store. + Default value for the BindableProperty. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + To be added. + To be added. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + Deprecated. Do not use. + A newly created BindableProperty. + + Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself. + + + + The type of the declaring object. + The type of the property. + An expression identifying a static method returning the value of the property using this BindableProperty as backing store. + Default value for the BindableProperty. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + To be added. + To be added. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + A Func used to initialize default value for reference types.. + Deprecated. Do not use. + A newly created BindableProperty. + + Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself. + + + + The name of the BindableProperty. + The type of the property. + The type of the declaring object. + The default value for the property. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + A delegate to be ran when the value has changed. This parameter is optional. Default is null. + A delegate to be ran when the value will change. This parameter is optional. Default is null. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + Creates a new instance of the BindableProperty class for attached read-only properties. + A newly created attached read-only BindableProperty. + + Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself. + + + + The name of the BindableProperty. + The type of the property. + The type of the declaring object. + The default value for the property. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + A delegate to be ran when the value has changed. This parameter is optional. Default is null. + A delegate to be ran when the value will change. This parameter is optional. Default is null. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + A Func used to initialize default value for reference types. + Creates a new instance of the BindableProperty class for attached read-only properties. + A newly created attached read-only BindableProperty. + + Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself. + + + + The type of the declaring object. + The type of the property. + An expression identifying a static method returning the value of the property using this BindableProperty as backing store. + Default value for the BindableProperty. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + To be added. + To be added. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + Deprecated. Do not use. + A newly created BindablePropertyKey. + + Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself. + + + + The type of the declaring object. + The type of the property. + An expression identifying a static method returning the value of the property using this BindableProperty as backing store. + Default value for the BindableProperty. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + To be added. + To be added. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + A Func used to initialize default value for reference types. + Deprecated. Do not use. + A newly created BindablePropertyKey. + + + + The name of the BindableProperty. + The type of the property. + The type of the declaring object. + The default value for the property. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + To be added. + To be added. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + Creates a new instance of the BindablePropertyKey class. + + + Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself. + + + + The name of the BindableProperty. + The type of the property. + The type of the declaring object. + The default value for the property. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + To be added. + To be added. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + A Func used to initialize default value for reference types. + Creates a new instance of the BindablePropertyKey class. + + + Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself. + + + The type of the declaring object. + The type of the property. + An expression identifying the getter for the property using this BindableProperty as backing store. + Default value for the BindableProperty. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + A delegate to be ran when the value has changed. This parameter is optional. Default is null. + A delegate to be ran when the value will change. This parameter is optional. Default is null. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + Deprecated. Do not use. + A newly created BindablePropertyKey. + + A BindablePropertyKey is used to restrict write access to a property, either via SetValue() or binding. A BindableProperty is usually defined too, to give broader read access + + + + The type of the declaring object. + The type of the property. + An expression identifying the getter for the property using this BindableProperty as backing store. + Default value for the BindableProperty. + The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay. + A delegate to be ran when a value is set. This parameter is optional. Default is null. + A delegate to be ran when the value has changed. This parameter is optional. Default is null. + A delegate to be ran when the value will change. This parameter is optional. Default is null. + A delegate used to coerce the range of a value. This parameter is optional. Default is null. + A Func used to initialize default value for reference types. + Deprecated. Do not use. + A newly created BindablePropertyKey. + + A BindablePropertyKey is used to restrict write access to a property, either via SetValue() or binding. A BindableProperty is usually defined too, to give broader read access + + + + Gets the type declaring the BindableProperty + + Unused + + + Gets the default BindingMode. + + + + + Gets the default value for the BindableProperty. + + + + + Gets the Func used as default value creator. + + + + + Gets a value indicating if the BindableProperty is created form a BindablePropertyKey. + + + + + Gets the property name. + + + + + Gets the type of the BindableProperty. + + + + + To be added. + To be added. + To be added. + Delegate for BindableProperty.PropertyChanged. + To be added. + + + To be added. + To be added. + To be added. + To be added. + Strongly-typed delegate for BindableProperty.PropertyChanged. + To be added. + + + To be added. + To be added. + To be added. + Delegate for BindableProperty.PropertyChanging. + To be added. + + + To be added. + To be added. + To be added. + To be added. + Strongly-typed delegate for BindableProperty.PropertyChanging. + To be added. + + + To be added. + To be added. + Delegate for BindableProperty.CoerceValue. + To be added. + To be added. + + + To be added. + To be added. + To be added. + Strongly-typed delegate for BindableProperty.CoerceValue. + To be added. + To be added. + + + To be added. + Strongly typed delegate for BindableProperty.DefaultValueCreator. + To be added. + To be added. + + + To be added. + To be added. + To be added. + Delegate for BindableProperty.DefaultValueCreator. + To be added. + To be added. + + + To be added. + To be added. + Delegate for BindableProperty.ValidateValue. + To be added. + To be added. + + + To be added. + To be added. + To be added. + Strongly-typed delegate for BindableProperty.ValidateValue. + To be added. + To be added. + + + A for bindable properties. + To be added. + + + Creates a new with default values. + To be added. + + + To be added. + Returns if the source type can be converted with this type converter. + To be added. + To be added. + + + To be added. + To be added. + Converts with the specified . + To be added. + To be added. + + + To be added. + Returns a bindable property when supplied a string of the form Type.PropertyName. + To be added. + To be added. + + + To be added. + To be added. + To be added. + For internal use only. + To be added. + To be added. + + + To be added. + To be added. + For internal use only. + To be added. + To be added. + + + The secret key to a BindableProperty, used to implement a BindableProperty with restricted write access. + + The following example shows the creation of a BindablePropertyKey. Write access is while read access is . + + (w => w.Foo, default(string)); + + public static readonly BindableProperty FooProperty = FooPropertyKey.BindableProperty; + + public string Foo { + get { return (string)GetValue (FooProperty); } + internal set { SetValue (FooPropertyKey, value); } + } +} + ]]> + + + + + Gets the BindableProperty. + A BindableProperty used for read access. + + + + A single 1:1 immutable data binding. + This class is immutable. + + + Constructs and initializes a new instance of the class. + + + + The property path. + The binding mode. This property is optional. Default is . + The converter. This parameter is optional. Default is . + An user-defined parameter to pass to the converter. This parameter is optional. Default is . + A String format. This parameter is optional. Default is . + Constructs and initializes a new instance of the class. + + The following example shows how to set a binding to a property with a BindingMode and Converter: + + + + + + + The property path. + The binding mode. This property is optional. Default is . + The converter. This parameter is optional. Default is . + An user-defined parameter to pass to the converter. This parameter is optional. Default is . + A String format. This parameter is optional. Default is . + An object used as the source for this binding. This parameter is optional. Default is . + Constructs and initializes a new instance of the class. + + The following example shows how to set a binding to a property with a BindingMode and Converter: + + + + + + + Gets or sets the converter to be used for this binding ? + An IValueConverter, or . + + + + Gets or sets the parameter passed as argument to the converter. + An object, or . + + + + The type of the source of the binding. + An expression used to retrieve the binding path. + The binding mode. This property is optional. Default is . + The converter. This parameter is optional. Default is . + An user-defined parameter to pass to the converter. This parameter is optional. Default is . + A String format. This parameter is optional. Default is . + This is a convenient factory method to create a binding from an expression, instead of a property name. This api is more resilient to refactoring. + A newly created binding. + + The following example shows how to set a binding to a property : + + (vm => vm.Name)); +Debug.WriteLine (label.Text); //prints "John Doe". + ]]> + + + + + Gets or sets the path of the property + A string indicating the path to the property. + + + + Gets or sets the source of the binding. + An object used as the binding source. + If the Source is not null, the BindingContext is ignored, and the Source is used instead. This allows to set a source for a single Binding, and not for all the Bindings applied to the BindableObject. + + + An abstract class that provides a and a formatting option. + To be added. + + + To be added. + Stops synchronization on the . + See for more information on enabling and disabling synchronization of collections in multithreaded environments. + + + The collection that will be read or updated. + The context or lock object that will be passed to . May be . + The synchronization callback. + Starts synchronization on the by using and . + + Application developers implement and pass it to the method to enable correct multithreaded access to . After synchronization is enabled, the Xamarin.Forms framework passes an access method, , and a that indicates whether write access is needed, to the application developer's implementation of each time that the framework needs to modify the collection in a multithreaded environment. The application developer's implementation should decide, based on the object (which may be merely a locking object or the object on which the collection lives) and the value of the parameter, whether or not to lock while calling . + Because Xamarin.Forms maintains a weak reference to , application developers do not need to call to aid in garbage collection. + + + + Gets or sets the mode for this binding. + To be added. + To be added. + + + Gets or sets the string format for this binding. + + A string specifying the format for the value of this binding. + + + + Used for providing a display format for the binding value or compositing the value with other + text. Implementors of decide how the string format is utilized, but + all support standard conventions. + + + allows for one argument for its singular value. + + + + A simple example showing compositing text and determining the display format for the value with a + + + + + + + + Throws an if the binding has been applied. + + Use this method in property setters as bindings can not be changed once applied. + + + + Class that represents a value comparison with the target of an arbitrary binding. + To be added. + + + Initializes a new instance. + To be added. + + + Gets or sets the binding against which the property will be compared. + To be added. + To be added. + + + The binding value that satisfies the condition. + To be added. + To be added. + + + To be added. + Used by XAML infrastructure. + To be added. + To be added. + + + The direction of changes propagation for bindings. + + The following examples shows some BindingMode use cases. + + (Label.TextProperty, vm => vm.Name, mode: BindingMode.OneWay); + +viewmodel.Name = "John Doe"; +Debug.WriteLine (label.Text); //prints "John Doe" +label.Text = "Foo"; +Debug.WriteLine (viewmodel.Name); //prints "John Doe" + + +//BindingMode.TwoWay +label = new Label (); +label.BindingContext = viewmodel = new PersonViewModel (); +label.SetBinding (Label.TextProperty, vm => vm.Name, mode: BindingMode.TwoWay); + +viewmodel.Name = "John Doe"; +Debug.WriteLine (label.Text); //prints "John Doe" +label.Text = "Foo"; +Debug.WriteLine (viewmodel.Name); //prints "Foo" + + +//BindingMode.OneWayToSource +label = new Label (); +label.BindingContext = viewmodel = new PersonViewModel (); +label.SetBinding (Label.TextProperty, vm => vm.Name, mode: BindingMode.OneWayToSource); + +viewmodel.Name = "John Doe"; +Debug.WriteLine (label.Text); //prints "" +label.Text = "Foo"; +Debug.WriteLine (viewmodel.Name); //prints "Foo" + ]]> + + + + + When used in Bindings, indicates that the Binding should use the . When used in BindableProperty declaration, defaults to BindingMode.OneWay. + + + Indicates that the binding should only propagates changes from source (usually the View Model) to target (the BindableObject). This is the default mode for most BindableProperty values. + + + Indicates that the binding should only propagates changes from target (the BindableObject) to source (usually the View Model). This is mainly used for read-only BindableProperty values. + + + Indicates that the binding should propagates changes from source (usually the View Model) to target (the BindableObject) in both directions. + + + Type converter that converts from source types to + To be added. + + + Creates a new object with default values. + To be added. + + + To be added. + Returns a Boolean value that indicates whether this can convert to . + To be added. + To be added. + + + To be added. + To be added. + Converts to by using . + To be added. + To be added. + + + To be added. + Converts a property path to a binding. + To be added. + To be added. + + + A bounds layout constraint used by s. + To be added. + + + To be added. + To be added. + Returns a object that contains the compiled version of and is relative to either or the views referred to in . + To be added. + To be added. + + + A that converts strings into s for use with s. + To be added. + + + Creates a new with default values. + To be added. + + + To be added. + Returns a Boolean value that indicates whether this can convert the to a instance. + To be added. + To be added. + + + To be added. + To be added. + Converts into a by using the specified . + To be added. + To be added. + + + To be added. + Converts into a . + To be added. + To be added. + + + A used to draw a solid colored rectangle. + + BoxView is a useful stand-in for images or custom elements when doing initial prototyping. BoxView has a default size request of 40x40. If you need a different size, assign the and properties. + XAML for Xamarin.Forms supports the following properties for the class: + + The example below creates a red with the default width and height. + ]]> + + The following example shows a basic use: + + + + + + + + + + Initializes a new instance of the BoxView class. + + + + Gets or sets the color which will fill the rectangle. This is a bindable property. + The color that is used to fill the rectangle. The default is . + + + + Identifies the Color bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + To be added. + To be added. + Method that is called when a size request is made to the box view. + To be added. + To be added. + + + A button that reacts to touch events. + + + The following example shows a basic use: + + + + + + + + + Initializes a new instance of the Button class. + + + + Gets or sets a color that describes the border stroke color of the button. This is a bindable property. + The color that is used as the border stroke color; the default is . + This property has no effect if is set to 0. On Android this property will not have an effect unless is set to a non-default color. + + + Backing store for the BorderColor bindable property. + + + + Gets or sets the corner radius of the border. This is a bindable property. + The corner radius of the button border; the default is 5. + + + + Backing store for the BorderRadius bindable property. + + + + Gets or sets the width of the border. This is a bindable property. + The width of the button border; the default is 0. + Set this value to a non-zero value in order to have a visible border. + + + Backing store for the BorderWidth bindable property. + + + + Occurs when the Button is clicked. + The user may be able to raise the clicked event using accessibility or keyboard controls when the Button has focus. + + + Gets or sets the command to invoke when the button is activated. This is a bindable property. + A command to invoke when the button is activated. The default value is . + This property is used to associate a command with an instance of a button. This property is most often set in the MVVM pattern to bind callbacks back into the ViewModel. is controlled by the Command if set. + + + Gets or sets the parameter to pass to the Command property. This is a bindable property. + A object to pass to the command property. The default value is . + + + + Backing store for the CommandParameter bindable property. + + + + Backing store for the Command bindable property. + + + + Gets or sets an object that controls the position of the button image and the spacing between the button's image and the button's text. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets the Font for the Label text. This is a bindable property. + The value for the button. The default is , which represents the default font on the platform. + + + + Gets a value that indicates whether the font for the button text is bold, italic, or neither. + To be added. + To be added. + + + Backing store for the FontAttributes property. + To be added. + + + Gets the font family to which the font for the button text belongs. + To be added. + To be added. + + + Backing store for the FontFamily property. + To be added. + + + Backing store for the Font bindable property. + + + + Gets or sets the size of the font of the button text. + To be added. + To be added. + + + Backing store for the FontSize property. + To be added. + + + Gets or sets the optional image source to display next to the text in the Button. This is a bindable property. + To be added. + To be added. + + + Backing store for the Image bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Method that is raised when the binding context changes. + + Application developers who override this method in derived classes must call this method in the base class, . + + + + The name of the changed property. + Call this method from a child class to notify that a change happened on a property. + A Button triggers this by itself. An inheritor only need to call this for properties without BindableProperty as backend store. + + + Gets or sets the Text displayed as the content of the button. This is a bindable property. + The text displayed in the button. The default value is . + Changing the Text of a button will trigger a layout cycle. + + + Gets or sets the for the text of the button. This is a bindable property. + The value. + + + + Backing store for the TextColor bindable property. + + + + Backing store for the Text bindable property. + + + + Sends a click event. + To be added. + + + Controls the relative positioning of, and spacing between, text and an image on a . + To be added. + + + An enumeration value that controls where the image is displayed in the button. + The spacing to use between the image and text. + Creates a new with the specified and . + To be added. + + + Gets an enumeration value that tells where the image is displayed in the button. + To be added. + To be added. + + + Gets the spacing to use between the image and text. + To be added. + To be added. + + + Returns a string represention of this object. + To be added. + To be added. + + + Enumerates image locations within a button. + To be added. + + + Indicates that the image will appear at the bottom edge of the button. + + + Indicates that the image will appear at the left edge of the button. + + + Indicates that the image will appear at the right edge of the button. + + + Indicates that the image will appear at the top edge of the button. + + + Class that the XAML parser uses to convert strings to objects. + To be added. + + + Creates a new object. + To be added. + + + To be added. + Converts into a object. + To be added. + To be added. + + + A Page that users can swipe from side to side to display pages of content, like a gallery. + + The provides a navigation experience that will feel natural and familiar to Windows Phone users. By using , application developers can provide customized navigation on a per-platform basis. For example, an application developer could use a for Android and iOS, and use a on Windows Phone. + + The following XAML example, when properly included and referenced in a Xamarin.Forms project, creates a that displays three simple elements: + + + + + + + + + + + + + + + +]]> + + + The following C# example creates a that displays three simple elements: + pages = new List (0); +Color[] colors = { Color.Red, Color.Green, Color.Blue }; +foreach (Color c in colors) { + pages.Add (new ContentPage { Content = new StackLayout { + Children = { + new Label { Text = c.ToString () }, + new BoxView { + Color = c, + VerticalOptions = LayoutOptions.FillAndExpand + } + } + } + }); +} + +MainPage = new CarouselPage { + Children = { pages [0], + pages [1], + pages [2] } +}; +]]> + + When embedding a CarouselPage into a , application developers should set to to prevent gesture conflicts between the CarouselPage and MasterDetailPage. + + + + + + + Initializes a new instance of the CarouselPage class. + + + + The object representing the model ofr the page. + Creates a default page, suitable for display in this, for an object. + A page that is titled with the string value of . + This returns a new object that has its property set to the value of when called on . + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Provides base class and capabilities for all Forms cells. Cells are elements meant to be added to or . + + The subtypes of are: + + + Type + Description + + + EntryCell + A with a label and a single line text entry field. + + + SwitchCell + A with a label and an on/off switch. + + + TextCell + A with primary and secondary text. + + + ImageCell + A that also includes an image. + + + ViewCell + A containing a developer-defined . + + + The various subclasses are shown in the following image: + + + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + ContextActions + + A list of objects to display when the user performs the context action. + + + + IsEnabled + + + or , indicating whether the animation for is displayed. + + + + + + + Initializes a new instance of the Cell class. + Cell class is abstract, this constructor is never invoked directly. + + + Occurs when the visual representation of the Cell is being added to the visual layout. + This method is raised before the cell is on screen. + + + Gets a list of menu items to display when the user performs the device-specific context gesture on the Cell. + The list of menu items that will be displayed when the user performs the device-specific context gesture on the Cell. + The context gesture on the iOS platform is a left swipe. For Android and Windows Phone operating systems, the context gesture is a press and hold. + + + The default height of cells. + To be added. + + + Occurs when the visual representation of the Cell is being removed from the visual layout. + This method is for virtualization usage only. It is not gauranteed to fire for all visible Cells when the ListView or TableView is removed from the screen. Additionally it fires during virtualization, which may not correspond directly with removal from the screen depending on the platform virtualization technique used. + + + Immediately updates the cell's size. + + Developers can call this method to update the cell's size, even if the cell is currently visible. Developers should note that this operation can be expensive. + + + + Gets a value that indicates whether the cell has at least one menu item in its list property. + To be added. + To be added. + + + Gets or sets the height of the Cell. + A double that represents the height of the cell. + The property is ignored if the app developer sets the or property on the surrounding to . In that case, the or property is used instead. + + + Gets or sets the IsEnabled state of the Cell. This is a bindable property. + A bool. Default is . + + + + Identifies the IsEnabled bindable property. + + + + Invoked whenever an event occurs. Implement this method to add class handling for this event. + + + + Event that is raised when the binding context is changed. + To be added. + + + Invoked whenever an event occurs. Implement this method to add class handling for this event. + + + + Invoked whenever a long press is applied to the Cell. + + + + Application developers can override this method to do actions when the cell's parent is set. + To be added. + + + The name of the property on which to monitor value changes. + TApplication developers can override this method to do actions when the property named by is set. + To be added. + + + Invoked whenever the Cell is Tapped. + + + + Gets the height of the rendered cell on the device. + + + + + Occurs when the Cell is Tapped. + + + + This method is for internal use by platform renderers. + To be added. + + + This method is for internal use by platform renderers. + To be added. + + + The collection that was passed to . + The context or lock object that was passed to . + An action that reads or modifies . + A value that tells whether write access is required by . + Delegate for callback in . + Application developers implement a method and pass it to the method to enable correct multithreaded access to . After synchronization is enabled, the Xamarin.Forms framework passes to the application developer's implementation of each time that the framework needs to modify the collection in a multithreaded environment. The application developer's implementation should decide, based on the object (which may be merely a locking object or the object on which the collection lives) and the value of the parameter, whether or not to lock while calling . + + + Class that represents a color and exposes it as RGBA and HSL values. + + This type is immutable. Colors can be expressed in the RGB or HSL modes. While the constructor takes R, G, B, and A values, the class also calculates and makes available HSL data for the color. + + In XAML, application developers can specify any property that is of type , for example, either as a XAML attribute or as a nested tag. The following code example shows how to specify the text color for a label by using an attribute: + + Hello, World! +]]> + The example below shows how to specify the text color for a label by using a nested tag: + + Hello, World! + Color.Blue +]]> + + Application developers can specify colors in XAML either as a hexadecimal number or as a valid color name. + When specifying a color with a hexadecimal number, app developers can use 3, 4, or 6 digits. If the developer specifies 3 digits, they are interpreted as RGB doublet data for a fully opaque color. For example, "#123" specifies the color that is represented by "#FF112233". If the developer provides a 4-digit hexadecimal number, then the data are interpreted as above, except that the first digit specifies the alpha channel. For example, "#1234" specifies the color that is represented by "#11223344". Finally, if the developer provides a 6 digit hexadecimal number, the data are interpreted as a fully opaque color with those RGB values. For example, "#112233" specifies the color that is represented by "#FF112233". + When specifying a color with a string, app developers can use color name in isolation, or prefix it with "Color.". For example, both Purple and Color.Purple are valid ways to specify the color purple. The following table describes the valid color names that can be used to specify colors in XAML. +ColorShort NameRGB ValueColor.TransparentTransparent255, 255, 255 (With the alpha channel set to 0.)Color.AquaAqua0, 255, 255Color.BlackBlack0, 0, 0Color.BlueBlue0, 0, 255Color.FuchsiaFuchsia255, 0, 255Color.GrayGray128, 128, 128Color.GreenGreen0, 128, 0Color.LimeLime0, 255, 0Color.MaroonMaroon128, 0, 0Color.NavyNavy0, 0, 128Color.OliveOlive128, 128, 0Color.OrangeOrange255, 165, 0Color.PurplePurple128, 0, 128Color.PinkPink255, 102, 255Color.RedRed255, 0, 0Color.SilverSilver192, 192, 192Color.TealTeal0, 128, 128Color.WhiteWhite255, 255, 255Color.YellowYellow255, 255, 0Color.AliceBlueAliceBlue240, 248, 255Color.AntiqueWhiteAntiqueWhite250, 235, 215Color.AquamarineAquamarine127, 255, 212Color.AzureAzure240, 255, 255Color.BeigeBeige245, 245, 220Color.BisqueBisque255, 228, 196Color.BlanchedAlmondBlanchedAlmond255, 235, 205Color.BlueVioletBlueViolet138, 43, 226Color.BrownBrown165, 42, 42Color.BurlyWoodBurlyWood222, 184, 135Color.CadetBlueCadetBlue95, 158, 160Color.ChartreuseChartreuse127, 255, 0Color.ChocolateChocolate210, 105, 30Color.CoralCoral255, 127, 80Color.CornflowerBlueCornflowerBlue100, 149, 237Color.CornsilkCornsilk255, 248, 220Color.CrimsonCrimson220, 20, 60Color.CyanCyan0, 255, 255Color.DarkBlueDarkBlue0, 0, 139Color.DarkCyanDarkCyan0, 139, 139Color.DarkGoldenrodDarkGoldenrod184, 134, 11Color.DarkGrayDarkGray169, 169, 169Color.DarkGreenDarkGreen0, 100, 0Color.DarkKhakiDarkKhaki189, 183, 107Color.DarkMagentaDarkMagenta139, 0, 139Color.DarkOliveGreenDarkOliveGreen85, 107, 47Color.DarkOrangeDarkOrange255, 140, 0Color.DarkOrchidDarkOrchid153, 50, 204Color.DarkRedDarkRed139, 0, 0Color.DarkSalmonDarkSalmon233, 150, 122Color.DarkSeaGreenDarkSeaGreen143, 188, 143Color.DarkSlateBlueDarkSlateBlue72, 61, 139Color.DarkSlateGrayDarkSlateGray47, 79, 79Color.DarkTurquoiseDarkTurquoise0, 206, 209Color.DarkVioletDarkViolet148, 0, 211Color.DeepPinkDeepPink255, 20, 147Color.DeepSkyBlueDeepSkyBlue0, 191, 255Color.DimGrayDimGray105, 105, 105Color.DodgerBlueDodgerBlue30, 144, 255Color.FirebrickFirebrick178, 34, 34Color.FloralWhiteFloralWhite255, 250, 240Color.ForestGreenForestGreen34, 139, 34Color.GainsboroGainsboro220, 220, 220Color.GhostWhiteGhostWhite248, 248, 255Color.GoldGold255, 215, 0Color.GoldenrodGoldenrod218, 165, 32Color.GreenYellowGreenYellow173, 255, 47Color.HoneydewHoneydew240, 255, 240Color.HotPinkHotPink255, 105, 180Color.IndianRedIndianRed205, 92, 92Color.IndigoIndigo75, 0, 130Color.IvoryIvory255, 255, 240Color.KhakiKhaki240, 230, 140Color.LavenderLavender230, 230, 250Color.LavenderBlushLavenderBlush255, 240, 245Color.LawnGreenLawnGreen124, 252, 0Color.LemonChiffonLemonChiffon255, 250, 205Color.LightBlueLightBlue173, 216, 230Color.LightCoralLightCoral240, 128, 128Color.LightCyanLightCyan224, 255, 255Color.LightGoldenrodYellowLightGoldenrodYellow250, 250, 210Color.LightGrayLightGray211, 211, 211Color.LightGreenLightGreen144, 238, 144Color.LightPinkLightPink255, 182, 193Color.LightSalmonLightSalmon255, 160, 122Color.LightSeaGreenLightSeaGreen32, 178, 170Color.LightSkyBlueLightSkyBlue135, 206, 250Color.LightSlateGrayLightSlateGray119, 136, 153Color.LightSteelBlueLightSteelBlue176, 196, 222Color.LightYellowLightYellow255, 255, 224Color.LimeGreenLimeGreen50, 205, 50Color.LinenLinen250, 240, 230Color.MagentaMagenta255, 0, 255Color.MediumAquamarineMediumAquamarine102, 205, 170Color.MediumBlueMediumBlue0, 0, 205Color.MediumOrchidMediumOrchid186, 85, 211Color.MediumPurpleMediumPurple147, 112, 219Color.MediumSeaGreenMediumSeaGreen60, 179, 113Color.MediumSlateBlueMediumSlateBlue123, 104, 238Color.MediumSpringGreenMediumSpringGreen0, 250, 154Color.MediumTurquoiseMediumTurquoise72, 209, 204Color.MediumVioletRedMediumVioletRed199, 21, 133Color.MidnightBlueMidnightBlue25, 25, 112Color.MintCreamMintCream245, 255, 250Color.MistyRoseMistyRose255, 228, 225Color.MoccasinMoccasin255, 228, 181Color.NavajoWhiteNavajoWhite255, 222, 173Color.OldLaceOldLace253, 245, 230Color.OliveDrabOliveDrab107, 142, 35Color.OrangeRedOrangeRed255, 69, 0Color.OrchidOrchid218, 112, 214Color.PaleGoldenrodPaleGoldenrod238, 232, 170Color.PaleGreenPaleGreen152, 251, 152Color.PaleTurquoisePaleTurquoise175, 238, 238Color.PaleVioletRedPaleVioletRed219, 112, 147Color.PapayaWhipPapayaWhip255, 239, 213Color.PeachPuffPeachPuff255, 218, 185Color.PeruPeru205, 133, 63Color.PlumPlum221, 160, 221Color.PowderBluePowderBlue176, 224, 230Color.RosyBrownRosyBrown188, 143, 143Color.RoyalBlueRoyalBlue65, 105, 225Color.SaddleBrownSaddleBrown139, 69, 19Color.SalmonSalmon250, 128, 114Color.SandyBrownSandyBrown244, 164, 96Color.SeaGreenSeaGreen46, 139, 87Color.SeaShellSeaShell255, 245, 238Color.SiennaSienna160, 82, 45Color.SkyBlueSkyBlue135, 206, 235Color.SlateBlueSlateBlue106, 90, 205Color.SlateGraySlateGray112, 128, 144Color.SnowSnow255, 250, 250Color.SpringGreenSpringGreen0, 255, 127Color.SteelBlueSteelBlue70, 130, 180Color.TanTan210, 180, 140Color.ThistleThistle216, 191, 216Color.TomatoTomato255, 99, 71Color.TurquoiseTurquoise64, 224, 208Color.VioletViolet238, 130, 238Color.WheatWheat245, 222, 179Color.WhiteSmokeWhiteSmoke245, 245, 245Color.YellowGreenYellowGreen154, 205, 50 + + + + The luminosity of the gray-scale color. + Initialize a new gray color. + This is equivalent to new Color (value, value, value). The value is clamped to [0-1]. App developers should use the equivalent methods, instead. + + + The red component of the color. + The green component of the color. + The blue component of the color. + Initializes a new RGB color. + This is equivalent to new Color (r, g, b, 1). Values are clamped to [0-1]. Prefer the equivalent methods. + + + The red component of the color. + The green component of the color. + The blue component of the color. + The alpha component of the color. + Initializes a new RGB color with an alpha channel. + Values are clamped to [0-1]. + + + Gets the alpha component of the color. + The Alpha component of the color as a double that is in the inclusive range [0-1]. + + + + Gets the accent or tint color from the application. + A Color. + The accent color is platform and device dependent. + + + The delta (positive or negative) to add to the luminosity channel. + Returns a new Color with a modified luminosity channel. + A new color with a possibly modified luminosity channel. + The parameter is added to the current luminosity, and the resulting luminosity is then clamped to the inclusive range [0,1]. + + + AliceBlue, the color that is represented by the RGB value #FFF0F8FF. + + + + AntiqueWhite, the color that is represented by the RGB value #FFFAEBD7. + + + + Aqua, the color that is represented by the RGB value #00ffff. + + + + Aquamarine, the color that is represented by the RGB value #FF7FFFD4. + + + + Azure, the color that is represented by the RGB value #FFF0FFFF. + + + + Gets the blue component of the color. + The Blue component of the color as a double that is in the inclusive range [0-1]. + + + + Beige, the color that is represented by the RGB value #FFF5F5DC. + + + + Bisque, the color that is represented by the RGB value #FFFFE4C4. + + + + Black, the color that is represented by the RGB value #000000. + + + + BlanchedAlmond, the color that is represented by the RGB value #FFFFEBCD. + + + + Blue, the color that is represented by the RGB value #0000ff. + + + + BlueViolet, the color that is represented by the RGB value #FF8A2BE2. + + + + Brown, the color that is represented by the RGB value #FFA52A2A. + + + + BurlyWood, the color that is represented by the RGB value #FFDEB887. + + + + CadetBlue, the color that is represented by the RGB value #FF5F9EA0. + + + + Chartreuse, the color that is represented by the RGB value #FF7FFF00. + + + + Chocolate, the color that is represented by the RGB value #FFD2691E. + + + + Coral, the color that is represented by the RGB value #FFFF7F50. + + + + CornflowerBlue, the color that is represented by the RGB value #FF6495ED. + + + + Cornsilk, the color that is represented by the RGB value #FFFFF8DC. + + + + Crimson, the color that is represented by the RGB value #FFDC143C. + + + + Cyan, the color that is represented by the RGB value #FF00FFFF. + + + + DarkBlue, the color that is represented by the RGB value #FF00008B. + + + + DarkCyan, the color that is represented by the RGB value #FF008B8B. + + + + DarkGoldenrod, the color that is represented by the RGB value #FFB8860B. + + + + DarkGray, the color that is represented by the RGB value #FFA9A9A9. + + + + DarkGreen, the color that is represented by the RGB value #FF006400. + + + + DarkKhaki, the color that is represented by the RGB value #FFBDB76B. + + + + DarkMagenta, the color that is represented by the RGB value #FF8B008B. + + + + DarkOliveGreen, the color that is represented by the RGB value #FF556B2F. + + + + DarkOrange, the color that is represented by the RGB value #FFFF8C00. + + + + DarkOrchid, the color that is represented by the RGB value #FF9932CC. + + + + DarkRed, the color that is represented by the RGB value #FF8B0000. + + + + DarkSalmon, the color that is represented by the RGB value #FFE9967A. + + + + DarkSeaGreen, the color that is represented by the RGB value #FF8FBC8F. + + + + DarkSlateBlue, the color that is represented by the RGB value #FF483D8B. + + + + DarkSlateGray, the color that is represented by the RGB value #FF2F4F4F. + + + + DarkTurquoise, the color that is represented by the RGB value #FF00CED1. + + + + DarkViolet, the color that is represented by the RGB value #FF9400D3. + + + + DeepPink, the color that is represented by the RGB value #FFFF1493. + + + + DeepSkyBlue, the color that is represented by the RGB value #FF00BFFF. + + + + Returns the default color. + The default color. + The Default color is used to unset any Color, and revert to the default one. + + + DimGray, the color that is represented by the RGB value #FF696969. + + + + DodgerBlue, the color that is represented by the RGB value #FF1E90FF. + + + + The value to compare to this structure. + Determine if the provided is equivalent to the current Color. + + if the provided object is an equivalent Color. Otherwies, . + Overriden. + + + Firebrick, the color that is represented by the RGB value #FFB22222. + + + + FloralWhite, the color that is represented by the RGB value #FFFFFAF0. + + + + ForestGreen, the color that is represented by the RGB value #FF228B22. + + + + A string that contains the hexadecimal (A)RGB color representation. + Returns a new RGB Color instance with the requested Red, Green, and Blue channels. The Alpha channel is set if contains one. + A color. + + When specifying a color with a hexadecimal number, app developers can use 3, 4, 6, or 8 digits. If the developer specifies 3 digits, they are interpreted as RGB doublet data for a fully opaque color. For example, "#123" specifies the color that is represented by "#FF112233". If the developer provides a 4-digit hexadecimal number, then the data are interpreted as above, except that the first digit specifies the alpha channel. For example, "#1234" specifies the color that is represented by "#11223344". If the developer provides a 6 digit hexadecimal number, the data are interpreted as a fully opaque color with those RGB values. For example, "#112233" specifies the color that is represented by "#FF112233". Finally, the developer can explicitly provide an 8-digit number that completely specifies the Alpha, Red, Green, and Blue channels, in that order. + Note that, in the paragraph above, the fully expanded color description is of the format, AARRGGBB. That is: the first pair of hexadecimal digits specifies the Alpha channel; the second pair specifies the Red channel; the third pair specifies the Green channel; and the final pair specifies the Blue channel. + + + + The Hue component of the color. + The Saturation component of the color. + The Luminosity component of the color. + The alpha value of the color. + Returns a new HSL Color with an alpha channel + An HSL color + + + + The red component of the color. + The green component of the color. + The blue component of the color. + Returns a new rgb color instance. + An RGB color + Component values are clamped to [0,1]. The method is striclty equivalent to new Color (r, g, b), and is present for API consistency. + + + The red component of the color. + The green component of the color. + The blue component of the color. + Returns a new rgb color instance. + A new RGB color. + Component values are clamped to [0,255]. + + + The red component of the color. + The green component of the color. + The blue component of the color. + The alpha component of the color. + Returns a new RGBA color instance. + A new RGBA color. + Component values are clamped to [0,1]. The method is striclty equivalent to new Color (r, g, b, a), and is present for API consistency. + + + The red component of the color. + The green component of the color. + The blue component of the color. + The alpha component of the color. + Returns a new RGBA color instance. + A new RGBA color. + Component values are clamped to [0,255]. + + + A uint that represents the ARGB value of the color. + Returns a new Color with the requested RGBA value. + An RGBA color. + + The parameter must represent an unsigned integer that can be represented by hexadecimal string that matches the format "AARRGGBB". + + + + Fucshia, the color that is represented by the RGB value #ff00ff. + + + + Fucshia, the color that is represented by the RGB value #ff00ff. Deprecated. See Remarks. + Use the color, instead. + + + Gets the Green component of the color. + The Green component of the color as a double that is in the inclusive range [0-1]. + + + + Gainsboro, the color that is represented by the RGB value #FFDCDCDC. + + + + Returns the Hashcode for this . + A signed 32-bit hash code. + Overriden. + + + GhostWhite, the color that is represented by the RGB value #FFF8F8FF. + + + + Gold, the color that is represented by the RGB value #FFFFD700. + + + + Goldenrod, the color that is represented by the RGB value #FFDAA520. + + + + Gray, the color that is represented by the RGB value #808080. + + + + Green, the color that is represented by the RGB value #008000. + + + + GreenYellow, the color that is represented by the RGB value #FFADFF2F. + + + + Honeydew, the color that is represented by the RGB value #FFF0FFF0. + + + + HotPink, the color that is represented by the RGB value #FFFF69B4. + + + + Gets the Hue of the color. + The Hue component of the color as a double that is in the inclusive range [0-1]. + + + + IndianRed, the color that is represented by the RGB value #FFCD5C5C. + + + + Indigo, the color that is represented by the RGB value #FF4B0082. + + + + Ivory, the color that is represented by the RGB value #FFFFFFF0. + + + + Khaki, the color that is represented by the RGB value #FFF0E68C. + + + + Lavender, the color that is represented by the RGB value #FFE6E6FA. + + + + LavenderBlush, the color that is represented by the RGB value #FFFFF0F5. + + + + LawnGreen, the color that is represented by the RGB value #FF7CFC00. + + + + LemonChiffon, the color that is represented by the RGB value #FFFFFACD. + + + + LightBlue, the color that is represented by the RGB value #FFADD8E6. + + + + LightCoral, the color that is represented by the RGB value #FFF08080. + + + + LightCyan, the color that is represented by the RGB value #FFE0FFFF. + + + + LightGoldenrodYellow, the color that is represented by the RGB value #FFFAFAD2. + + + + LightGray, the color that is represented by the RGB value #FFD3D3D3. + + + + LightGreen, the color that is represented by the RGB value #FF90EE90. + + + + LightPink, the color that is represented by the RGB value #FFFFB6C1. + + + + LightSalmon, the color that is represented by the RGB value #FFFFA07A. + + + + LightSeaGreen, the color that is represented by the RGB value #FF20B2AA. + + + + LightSkyBlue, the color that is represented by the RGB value #FF87CEFA. + + + + LightSlateGray, the color that is represented by the RGB value #FF778899. + + + + LightSteelBlue, the color that is represented by the RGB value #FFB0C4DE. + + + + LightYellow, the color that is represented by the RGB value #FFFFFFE0. + + + + Lime, the color that is represented by the RGB value #00ff00. + + + + LimeGreen, the color that is represented by the RGB value #FF32CD32. + + + + Linen, the color that is represented by the RGB value #FFFAF0E6. + + + + Gets the Luminosity fo the color. + The Luminosity component of the color as a double that is in the inclusive range [0-1]. + + + + Magenta, the color that is represented by the RGB value #FFFF00FF. + + + + Maroon, the color that is represented by the RGB value #800000. + + + + MediumAquamarine, the color that is represented by the RGB value #FF66CDAA. + + + + MediumBlue, the color that is represented by the RGB value #FF0000CD. + + + + MediumOrchid, the color that is represented by the RGB value #FFBA55D3. + + + + MediumPurple, the color that is represented by the RGB value #FF9370DB. + + + + MediumSeaGreen, the color that is represented by the RGB value #FF3CB371. + + + + MediumSlateBlue, the color that is represented by the RGB value #FF7B68EE. + + + + MediumSpringGreen, the color that is represented by the RGB value #FF00FA9A. + + + + MediumTurquoise, the color that is represented by the RGB value #FF48D1CC. + + + + MediumVioletRed, the color that is represented by the RGB value #FFC71585. + + + + MidnightBlue, the color that is represented by the RGB value #FF191970. + + + + MintCream, the color that is represented by the RGB value #FFF5FFFA. + + + + MistyRose, the color that is represented by the RGB value #FFFFE4E1. + + + + Moccasin, the color that is represented by the RGB value #FFFFE4B5. + + + + The alpha multiplicator. + Returns a new color with the alpha channel multiplied by alpha, clamped to the inclusive range [0-1]. + A new RGBA color with a possibly new value for its alpha channel. See Remarks. + The resulting color has its alpha channel clamped toto the inclusive range [0-1], preventing invalid colors. + + + NavajoWhite, the color that is represented by the RGB value #FFFFDEAD. + + + + Navy, the color that is represented by the RGB value #000080. + + + + OldLace, the color that is represented by the RGB value #FFFDF5E6. + + + + Olive, the color that is represented by the RGB value #808000. + + + + OliveDrab, the color that is represented by the RGB value #FF6B8E23. + + + + To be added. + To be added. + Returns if represents the same color as . + To be added. + To be added. + + + To be added. + To be added. + Returns if does not represent the same color as . + To be added. + To be added. + + + Orange, the color that is represented by the RGB value #ffa500. + + + + OrangeRed, the color that is represented by the RGB value #FFFF4500. + + + + Orchid, the color that is represented by the RGB value #FFDA70D6. + + + + PaleGoldenrod, the color that is represented by the RGB value #FFEEE8AA. + + + + PaleGreen, the color that is represented by the RGB value #FF98FB98. + + + + PaleTurquoise, the color that is represented by the RGB value #FFAFEEEE. + + + + PaleVioletRed, the color that is represented by the RGB value #FFDB7093. + + + + PapayaWhip, the color that is represented by the RGB value #FFFFEFD5. + + + + PeachPuff, the color that is represented by the RGB value #FFFFDAB9. + + + + Peru, the color that is represented by the RGB value #FFCD853F. + + + + Pink, the color that is represented by the RGB value #ff66ff. + + + + Plum, the color that is represented by the RGB value #FFDDA0DD. + + + + PowderBlue, the color that is represented by the RGB value #FFB0E0E6. + + + + Purple, the color that is represented by the RGB value #800080. + + + + Gets the Red component of the color. + The Red component of the color as a double that is in the inclusive range [0-1]. + + + + Red, the color that is represented by the RGB value #ff0000. + + + + RosyBrown, the color that is represented by the RGB value #FFBC8F8F. + + + + RoyalBlue, the color that is represented by the RGB value #FF4169E1. + + + + SaddleBrown, the color that is represented by the RGB value #FF8B4513. + + + + Salmon, the color that is represented by the RGB value #FFFA8072. + + + + SandyBrown, the color that is represented by the RGB value #FFF4A460. + + + + Gets the Saturation of the color + The Saturation component of the color as a double that is in the inclusive range [0-1]. + + + + SeaGreen, the color that is represented by the RGB value #FF2E8B57. + + + + SeaShell, the color that is represented by the RGB value #FFFFF5EE. + + + + Sienna, the color that is represented by the RGB value #FFA0522D. + + + + Silver, the color that is represented by the RGB value #c0c0c0. + + + + SkyBlue, the color that is represented by the RGB value #FF87CEEB. + + + + SlateBlue, the color that is represented by the RGB value #FF6A5ACD. + + + + SlateGray, the color that is represented by the RGB value #FF708090. + + + + Snow, the color that is represented by the RGB value #FFFFFAFA. + + + + SpringGreen, the color that is represented by the RGB value #FF00FF7F. + + + + SteelBlue, the color that is represented by the RGB value #FF4682B4. + + + + Tan, the color that is represented by the RGB value #FFD2B48C. + + + + Teal, the color that is represented by the RGB value #008080. + + + + Thistle, the color that is represented by the RGB value #FFD8BFD8. + + + + Tomato, the color that is represented by the RGB value #FFFF6347. + + + + Returns a string representation of the Color. + A string. + Overriden. + + + The transparent color, represented by the RGB value #ffffff00. + The Alpha channel of the color is set to 0. + + + Turquoise, the color that is represented by the RGB value #FF40E0D0. + + + + Violet, the color that is represented by the RGB value #FFEE82EE. + + + + Wheat, the color that is represented by the RGB value #FFF5DEB3. + + + + White, the color that is represented by the RGB value #ffffff. + + + + WhiteSmoke, the color that is represented by the RGB value #FFF5F5F5. + + + + The modified Hue. + Returns a color with modified Hue, but keeping the same Saturation and Luminosity. + A color. + The Hue is clamped to the inclusive range [0,1]. This method is useful for creating color palettes. + + + The modified luminosity. + Returns a color with modified Luminosity. + A new HSL color. + The new Luminosity is clamped to [0,1]. This method is useful for creating color palettes. + + + The modified Saturation. + Returns a new color with modified Saturation. + A new HSLcolor. + The Saturation is clamped to [0,1]. This method is useful for creating color palettes. + + + Yellow, the color that is represented by the RGB value #ffff00.. + + + + YellowGreen, the color that is represented by the RGB value #FF9ACD32. + + + + A that converts from strings to a . + + The following example shows some variations of : + + + + + + + Creates a new with default values. + To be added. + + + To be added. + Returns a Boolean value that indicates whether this can convert the to a instance. + To be added. + To be added. + + + To be added. + To be added. + Converts into a by using the specified . + To be added. + To be added. + + + To be added. + Creates a color from a valid color name. + To be added. + To be added. + + + An that defines properties for a column in a . + + XAML for Xamarin.Forms supports the following property for the class: + + + Property + Value + + + Width + + "*" or "Auto" to indicate the corresponding enumeration values, or a number to indicate an absolute width. + + + + + App developers can specify values for the property in XAML by nesting ColumnDefinition tags inside tags for the collection property. The following example demonstrates setting three column widths to each of the three valid values: + + + + + +]]> + + + + + Creates a new object with default values. + To be added. + + + Event that is raised when the size of the column is changed. + To be added. + + + Gets or sets the width of the column. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + A for s. + + App developers can specify values for the property in XAML by nesting ColumnDefinition tags inside tags for the collection property. The following example demonstrates setting three column widths to each of the three valid values: + + + + + + +]]> + + + + + Creates a new empty collection. + To be added. + + + Defines an implementation that wraps a . + + + The following example creates a new Command and set it to a button. + + + Debug.WriteLine ("Command executed")); +var button = new Button { + Text = "Hit me to execute the command", + Command = command, +}; +]]> + + + More useful scenarios takes a parameter + + + Debug.WriteLine ("Command executed: {0}", o)); +var button = new Button { + Text = "Hit me to execute the command", + Command = command, + CommandParameter = "button0", +}; +]]> + + + + + An Action to execute when the Command is executed. + Initializes a new instance of the Command class. + + + + An Action<object> to execute when the Command is executed. + Initializes a new instance of the Command class. + The Action will be executed with a parameter. + + + An Action to execute when the Command is executed. + A indicating if the Command can be executed. + Initializes a new instance of the Command class. + Whenever the value returned by canExecute has changed, a call to is required to trigger . + + + An Action<object> to execute when the Command is executed. + A indicating if the Command can be executed. + Initializes a new instance of the Command class. + Whenever the value returned by canExecute has changed, a call to is required to trigger . + + + An used as parameter to determine if the Command can be executed. + Returns a indicating if the Command can be exectued with the given parameter. + + if the Command can be executed, otherwise. + + If no canExecute parameter was passed to the Command constructor, this method always returns . + If the Command was created with non-generic execute parameter, the parameter of this method is ignored. + + + + Occurs when the target of the Command should reevaluate whether or not the Command can be executed. + + + + Send a + + + + An used as parameter for the execute Action. + Invokes the execute Action + + If the Command was created with non-generic execute parameter, the parameter of this method is ignored. + + + + The Type of the parameter, + Defines an implementation wrapping a generic Action<T>. + + + The following example creates a new Command and set it to a button. + + + (s => Debug.WriteLine ("Command executed: {0}", s)); +var button = new Button { + Text = "Hit me to execute the command", + Command = command, + CommandParameter = "button0", +}; +]]> + + + + + An Action to execute when the Command is executed. + Initializes a new instance of the Command class. + + + + An Action to execute when the Command is executed. + A indicating if the Command can be executed. + Initializes a new instance of the Command class. + + + + Base class for conditions. + To be added. + + + The target platform for the configuration. + The element type for which to retrieve platform-specific versions. + Utility class for retrieving platform-specific versions of elements. + To be added. + + + The element for which to retrieve a platform-specific version. + Constructs a new configuration for the specified . + To be added. + + + To be added. + Creates and returns a new configuration for the specifed . + To be added. + To be added. + + + Gets the platform-independent element for which platform-specific versions can be retrieved. + The platform-independent element for which platform-specific versions can be retrieved. + To be added. + + + A layout constraint used by s. + To be added. + + + To be added. + Returns a object that constrains an element to . + To be added. + To be added. + + + To be added. + Returns a that is calculated from . + To be added. + To be added. + + + To be added. + Returns a object that constrains an element relative to its parent's size. + To be added. + To be added. + + + To be added. + To be added. + Returns a object that constrains an element relative to the parameter. + To be added. + To be added. + + + Defines a constraint relationship. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Constant + + An optionally signed integer literal. + + + + ElementName + + The name of a source element against which to calculate the constraint. + + + + Factor + + A decimal literal in the range (0,1]. + + + + Property + + The name of the property on the source element to use in the constraint calculation. + + + + Type + + + Constant, RelativeToParent, or RelativeToView. + + + + + + + Creates a new with default values. + To be added. + + + Gets or sets the constant constraint value.. + To be added. + To be added. + + + Gets or sets the name of a source element against which to calculate the constraint. + To be added. + To be added. + + + Gets or sets the factor by which to scale a constrained dimension, relative to the source element. + To be added. + To be added. + + + Gets or sets name of the property on the source element to use in the constraint calculation. + To be added. + To be added. + + + To be added. + Returns a for this . + To be added. + To be added. + + + A service provider helper that can provide services for the markup extension. + When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension. + The object value to set on the property where the extension is applied. + To be added. + + + Gets or sets the constraint type. + To be added. + To be added. + + + To be added. + For internal use only. + To be added. + To be added. + + + Enumeration specifying whether a constraint is constant, relative to a view, or relative to its parent. + To be added. + + + A constant constraint. + + + A constraint that is relative to a parent element. + + + A constraint that is relative to a view. + + + A that converts from strings to a . + To be added. + + + Creates a new with default values. + To be added. + + + To be added. + Returns a Boolean value that indicates whether this can convert the to a instance. + To be added. + To be added. + + + To be added. + To be added. + Converts into a by using the specified . + To be added. + To be added. + + + To be added. + >Converts into a . + To be added. + To be added. + + + A that displays a single view. + + This is a Page displaying a single View, often a container like a or . + + The example below is taken from he App.cs file that is contained in the default "Hello, Forms!" app. It uses a to display a label, which is a typical, though basic, use of the class. + + The FormsGallery sample, which can be found on the Sample Applications page, has a ContentPageDemoPage.cs file. This file contains a longer and more complicated example. + XAML for Xamarin.Forms supports the following property for the class: + + + + Property + Value + + + Content + + A list of objects that represent the visual content of the . This tag can be omitted, and the contents listed directly. + + + A ContentPage tag can be the root element of a XAML document. + + + + + + Initializes a new ContentPage instance. + + + + Gets or sets the view that contains the content of the Page. + A subclass, or . + + + + Backing store for the property. + To be added. + + + Method that is called when the binding context changes. + To be added. + + + Layout manager for templated views. + To be added. + + + Creates a new empty with default values + To be added. + + + Gets or sets the view whose layout is managed by this . + To be added. + To be added. + + + Backing store for the property. + To be added. + + + The X coordinate of the upper left corner of the layout rectangle. + The Y coordinate of the upper left corner of the layout rectangle. + The width of the layout rectangle. + The height of the layout rectangle. + Lays out the children of the property within the rectangle that is defined by , , , and . + To be added. + + + The width constraint of the size request. + The width constraint of the size request.. + Method that is raised when a size request is made. + To be added. + To be added. + + + Indicates the property of the type that is the (default) content property. + + XAML processor uses to determine the content property. + +Decorating types with ContentPropertyAttribute allows shorter XAML syntax. As + + has a ContentProperty attribute applied, this XAML is valid: + + +This is equivalent to the following, more explicit XAML + + + + + ]]> + + + + The name of the property. + Initializes a new instance of the ContentPropertyAttribute class. + + + + Gets the name of the content property + A string representing the name of the content property. + + + + An element that contains a single child element. + + XAML for Xamarin.Forms supports the following property for the class: + + + Property + Value + + + Content + + The object that represents the visual content of the . + + + + + The following example shows how to construct a new ContentView with a Label inside. + + + + + + + + + + + Initializes a new instance fo the ContentView class. + + + + Gets or sets the content of the ContentView. + A that contains the content. + + + + Backing store for the property.. + To be added. + + + A value representing the x coordinate of the child region bounding box. + A value representing the y coordinate of the child region bounding box. + A value representing the y coordinate of the child region bounding box. + A value representing the y coordinate of the child region bounding box. + Positions and sizes the content of a ContentView. + + + + Method that is called when the binding context changes. + To be added. + + + The available width for the ContentView to use + The available height for the ContentView to use. + This method is called during the measure pass of a layout cycle to get the desired size of the ContentView. + A which contains the desired size of the StackLayout. + The results of this method will be the desired size of its content. + + + Template that specifies a group of styles and effects for controls. + To be added. + + + For internal use only. + To be added. + + + To be added. + Creates a new control template for the specified control type. + To be added. + + + A template for multiple bindings, commonly used by s and s. + In XAML, application developers can nest markup inside a DataTemplate tag to create a whose members are bound to the properties of data objects that are contained in a list. + + + For internal use only. + To be added. + + + A custom content generator to be called + Creates and initializes a new instance of the class. + To be added. + + + To be added. + Creates a new for type . + To be added. + + + Gets a dictionary of bindings, indexed by the bound properties. + To be added. + To be added. + + + Loads the template for the type that is represented by this and sets all of the bindings and values. + To be added. + To be added. + + + To be added. + To be added. + Sets the binding for . + To be added. + + + To be added. + To be added. + Sets the value of . + To be added. + + + Returns a dictionary of property values for this , indexed by property. + To be added. + To be added. + + + For internal use only. + To be added. + To be added. + + + To be added. + For internal use only. + To be added. + + + Gets or sets the parent element of this object. + To be added. + To be added. + + + To be added. + For internal use only. + To be added. + + + + + + + + + + + + + + For internal use only. + + + + + + + + + For internal use only. + To be added. + To be added. + + + Selects objects by data type and container. + + Application developers override the method to return a unique for a data type and parent container combination. Additionally, because the same exact template instance must be returned for a given piece of data across successive calls to , developers should create and store these in their constructor overrides. + Developers should note the following items: OnSelectTemplate must not return another DataTemplateSelector, and + The Android platform is limited to 20 templates per list view. + The following example shows a basic use: + + + + + Creates a new with default values. + Application developers should provide their own constructors to create and store the objects that can be returned by this . + + + The data for which to return a template. + An optional container object in which the developer may have opted to store objects. + Calls . + A developer-defined that can be used to display . + + This method throws an exception if returns an instance of . + + + + The data for which to return a template. + An optional container object in which the developer may have opted to store objects. + When overriden by developers in a derived class, returns a for . + + A developer-defined that can be used to display . + + + Developers should ensure that this method never returns a object, as this will cause the method to throw an exception. + + Developers should note that the he Android platform is limited to 20 templates per list view. + + The following example shows a basic use: + + + + + Class that represents a binding condition and a list of objects that will be applied when the condition is met. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Property + + The name of the property whose value to compare against Value. + + + + Value + + The value of the property that will trigger the setters in Setters. + + + + Setters + + A list of setters that are called when the property condition is met. Each Setter tag or tag pair in the list has a Property and Value that represents the assignments to perform when the condition is met. + + + + + + + To be added. + Initializes a new instance. + To be added. + + + Gets or sets the binding whose value will be compared to to determine when to invoke the setters. + To be added. + To be added. + + + Gets the list of objects that will be applied when the binding that is named by the property becomes equal to . + To be added. + To be added. + + + Gets or sets the value of the binding, named by the property, that will cause the setters to be applied. + To be added. + To be added. + + + To be added. + XAML infrastructure. + To be added. + To be added. + + + Event arguments for event. + To be added. + + + To be added. + To be added. + Creates a new object that represents a change from to . + To be added. + + + The date that the user entered. + To be added. + To be added. + + + The date that was on the element at the time that the user selected it. + To be added. + To be added. + + + A that allows date picking. + + The visual representation of a DatePicker is very similar to the one of , except that a special control for picking a date appears in place of a keyboard. + + + + The following example shows a basic use: + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Format + + A string that specifies the display format in the control of the chosen date. + + + + Date + + An x:FactoryMethod call to the method, or a markup extension call to a method that produces a object. See below. + + + + MinimumDate + + An x:FactoryMethod call to the method, or a markup extension call to a method that produces a object. See below. + + + + MaximumDate + + An x:FactoryMethod call to the method, or a markup extension call to a method that produces a object. See below. + + + + + The example below creates a working that displays the current date and allows the user to select a date between the specified ranges. The value for the property is specified with the x:Static markup extension, and the and properties are specified by calling the method with the x:FactoryMethod and x:Arguments tags. The example below requires a namespace declaration in the root ContentPage or ContentView tags. In particular, xmlns:sys="clr-namespace:System;assembly=mscorlib" must appear in the attribute list for the root element, so that the XAML parser can resolve the name, sys:DateTime. + + + yyyy-MM-dd + + + + Jan 1 2000 + + + + + + + Dec 31 2050 + + + + + ]]> + + + + + Initializes a new instance of the DatePicker class. + + + + Gets or sets the displayed date. This is a bindable property. + The displayed in the DatePicker. + + + + Identifies the Date bindable property. + + + + An event fired when the Date property changes. + + + + The format of the date to display to the user. This is a dependency property. + A valid date format. + Format string is the same is passed to DateTime.ToString (string format). + + + Identifies the Format dependency property. + + + + The highest date selectable for this DatePicker. This is a bindable property. + The maximum selectable for the DateEntry. Default December 31, 2100. + + + + Identifies the MaximumDate bindable property. + + + + The lowest date selectable for this DatePicker. This is a bindable property. + The minimum selectable for the DateEntry. Default January 1, 1900. + + + + Identifies the MinimumDate bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the text color for the date picker. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + To be added. + A collection parameterized by an . Base class for and . + + Objects of type are parameterized with a type of . + + + + + + + The to add. + Adds a to the collection. + To be added. + + + Removes all values from this . + To be added. + + + The to check for in this . + Returns a Boolean value that indicates whether or not this contains the specified . + To be added. + To be added. + + + To be added. + To be added. + Copies instances from this to an array, starting at the specified index. + To be added. + + + Gets the number of instances contained in this . + To be added. + To be added. + + + Returns an enumerator that iterates through the instances in this . + To be added. + To be added. + + + The instance to find. + Returns the index of the first occurrence of in this . + To be added. + To be added. + + + The position at which to insert . + The to insert. + Inserts a into this at the location that is specified by . + To be added. + + + + . instances can have items added to them and removed from them. + + + + To be added. + + + The location of the item to get or set. + Gets or sets the value indexed by . + To be added. + To be added. + + + Event that is raised when the display size of item in the collection changes. + To be added. + + + The to remove from this . + Removes a from this and returns if the item was removed. + + if was in this and was therefore removed. if was not in this . + To be added. + + + The location in this from which to remove an instance. + Removes an item from this . + To be added. + + + Gets an enumerator that can be used to iterate over the instances in this . + To be added. + To be added. + + + An attribute that indicates that the specified type provides a concrete implementation of a needed interface. + To be added. + + + To be added. + Creates a new with default values. + To be added. + + + Enumeration specifying whether should return a reference to a global or new instance. + + The following example shows how can be used to specify a new instance: + + (DependencyFetchTarget.NewInstance); + ]]> + + + + + Return a global instance. + + + Return a new instance. + + + Static class that provides the factory method for retrieving platform-specific implementations of the specified type T. + To be added. + + + To be added. + To be added. + Returns the platform-specific implementation of type T. + To be added. + To be added. + + + To be added. + Registers the platform-specific implementation of type T. + To be added. + + + To be added. + To be added. + Registers the platform-specific implementation of type T. + To be added. + + + A utility class to interact with the current Device/Platform. + + + + To be added. + To be added. + + + The Action to invoke + Invokes an Action on the device main (UI) thread. + + This example shows how to set the Text of Label on the main thread, e.g. in response to an async event. + + + { + label.Text = "Async operation completed"; +}); + ]]> + + + + + To be added. + To be added. + Returns a double that represents the named size for the font that is used on the element on the native platform. + To be added. + To be added. + + + To be added. + To be added. + Returns a double that represents a font size that corresponds to on . + To be added. + To be added. + + + Gets the kind of device that Xamarin.Forms is currently working on. + A that represents the device type. + + + + To be added. + To be added. + + + (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. + 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)); + ]]> + + + + + The type of the value to be returned. + The value for iOS. + The value for Android. + The value for WinPhone. + 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. + + + + + + + + The to open. + Request the device to open the Uri. + This often navigates out of the application. + + + Gets the indicating the OS Xamarin.Forms is working on. + A that indicates the current OS. + + + + To be added. + To be added. + To be added. + + + The interval between invocations of the callback. + The action to run when the timer elapses. + Starts a recurring timer using the device clock capabilities. + While the callback returns , the timer will keep recurring. + + + To be added. + To be added. + + + To be added. + To be added. + + + Class that exposes device-specific styles as static fields. + To be added. + + + The device-specific body style. + To be added. + + + The key that identifies the device-specific in the base resource. + To be added. + + + The device-specific caption style. + To be added. + + + The key that identifies the device-specific in the base resource. + To be added. + + + The device-specific style for detail text in list items. + To be added. + + + The key that identifies the device-specific in the base resource. + To be added. + + + The device-specific style for text in list items. + To be added. + + + The key that identifies the device-specific in the base resource. + To be added. + + + The device-specific subtitle style. + To be added. + + + The key that identifies the device-specific in the base resource. + To be added. + + + The device-specific title style. + To be added. + + + The key that identifies the device-specific in the base resource. + To be added. + + + Functions that modify values non-linearly, generally used for animations. + + Easing functions are applied to input values in the range [0,1]. The cubic easing functions are often considered to look most natural. + If developers wish to use their own easing functions, they should return a value of 0 for an input of 0 and a value of 1 for an input of 1 or the animation will have a jump. + The predefined functions have the following forms: + + + Member + Graph + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To be added. + Creates a new object with the function. + To be added. + + + + Jumps towards, and then bounces as it settles at the final value. + + + + + + + Leaps to final values, bounces 3 times, and settles. + + + + + + + + Starts slowly and accelerates. + + + + + + + + Accelerates and decelerates. Often a natural-looking choice. + + + + + + + + Starts quickly and the decelerates. + + + + + + + + A value in the range [0,1] to which the easing function should be applied. + Applies the easing function to the specified value . + The value of the easing function when applied to the value . + To be added. + + + Linear transformation. + + + + + + + + An easing function. + Converts a function into an . + An for the . + + An easing function should return a value of (or near) 0 at 0 and 1 (or near) for 1. + + + + Smoothly accelerates. + + + + + + + + Accelerates in and decelerates out. + + + + . + + + Smoothly decelerates. + + + + + + + + Moves away and then leaps toward the final value. + + + + + + + + Overshoots and then returns. + + + + + + + + A control that can edit multiple lines of text. + + For single line entries, see . + + + + + + + Initializes a new instance of the Editor class. + + + The following example creates a Editor with a Chat keyboard that fills the available space. + + + + + XAML for Xamarin.Forms supports the following property for the class: + + + Property + Value + + + Text + + The initial text that will appear in the editor. + + + + + + + Event that is fired when editing has completed. + iOS (Unfocusing the editor or pressing "Done" triggers the event). Android / Windows Phone (Unfocusing the Editor triggers the event) + + + Gets a value that indicates whether the font for the editor is bold, italic, or neither. + To be added. + To be added. + + + Backing store for the FontAttributes property. + To be added. + + + Gets the font family to which the font for the editor belongs. + To be added. + To be added. + + + Backing store for the FontFamily property. + To be added. + + + Gets the size of the font for the editor. + To be added. + To be added. + + + Backing store for the FontSize property. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the text of the entry. This is a bindable property. + A string containing the text of the entry. The default value is null. + Setting this property will cause the event to be emitted. + + + Occurs when the text of the Editor changes. + + + + Gets or sets the text color. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Identifies the Text bindable property. + + + + A collection of styles and properties that can be added to an element at run time. + + Effects are suitable when the developer needs to use platform-specific features to achieve the desired effect. Developers should consider using if they do not need platform-specific implentations to achieve their desired result. + + + + Gets the element to which the style is attached. + The to which the property is attached, if the property is attached. Otherwise, . + To be added. + + + Gets a value that tells whether the effect is attached to an element. + To be added. + To be added. + + + Method that is called after the effect is attached and made valid. + To be added. + + + Method that is called after the effect is detached and invalidated. + To be added. + + + To be added. + Returns an for the specified name, which is of the form ResolutionGroupName.ExportEffect. + The uniquely identified effect. + The method takes a string that is the concatenation of a resolution group name (supplied to ), '.', and the unique name that was supplied to , and returns the specified effect. + + + Gets the ID that is used to resolve this effect at runtime. + The ID that is used to resolve this effect at runtime. + + Developers must supply a name to that is unique over the scope of the name that they supply to . The method takes a string that is the concatenation of (the resolution group name), '.', and the unique name that was supplied to , and returns the specified effect. + + For example, with the declarations: + + Then the code below will add the effect to a button: + + + This property returns the string that developers pass to to get the effect at runtime. + + + + Provides the base class for all Forms hierarchal elements. This class contains all the methods and properties required to represent an element in the Forms hierarchy. + + The following diagram shows the classes derived from . + + + + The diagram shows some important categories: + + + Class + Description + + + + + + A that occupies an area on the screen, has a visual appearance, and can obtain touch input. + + + + + + Cells are elements meant to be added to or . + + + + + + A that occupies most or all of the screen and contains a single child. + + + + + + + have a single child of type , while subclasses of have a collection of multiple children views, including other layouts. + + + + Controls and specialized s + + The lower part of the diagram shows the Xamarin.Forms classes for universally-available controls, such as s and s. + + + + + + Protected constructor used to initialize a the element. + To be added. + + + Gets or sets a value that allows the automation framework to find and interact with this element. + A value that the automation framework can use to find and interact with this element. + This value may only be set once on an element. + + + Occurs whenever a child element is added to the element. + To be added. + + + Occurs whenever a child element is removed from the element. + To be added. + + + Gets or sets a value used to identify a collection of semantically similar elements. + A string that represents the collection the element belongs to. + Use the class id property to collect together elements into semantically similar groups for identification in ui testing and in theme engines. + + + Identifies the ClassId bindable property. + To be added. + + + Occurs whenever a child element is added to the elements subtree. + To be added. + + + Occurs whenever a child element is removed from the elements subtree. + To be added. + + + A list of the effects that are applied to this item. + To be added. + To be added. + + + Gets a value that can be used to uniquely identify an element through the run of an application. + A Guid uniquely identifying the element. + This value is generated at runtime and is not stable across runs of your app. + + + Invoked whenever the binding context of the element changes. Implement this method to add class handling for this event. + Implementors must call the base method. + + + The element that was added. + Invoked whenever the event needs to be emitted. Implement this method to add class handling for this event. + This method has no default implementation. You should still call the base implementation in case an intermediate class has implemented this method. + + + The element that was removed. + Invoked whenever the event needs to be emitted. Implement this method to add class handling for this event. + This method has no default implementation. You should still call the base implementation in case an intermediate class has implemented this method. + + + Invoked whenever the Parent of an element is set. Implement this method in order to add behavior when the element is added to a parent. + Implementors must call the base method. + + + The name of the bound property that changed. + Method that is called when a bound property is changed. + To be added. + + + Gets or sets the parent element of the element. + The element which should be the parent of this element. + Most application authors will not need to set the parent element by hand. + + + Gets the element which is the closest ancestor of this element that is a . + The closest ansestor which is a . + Convenient way of accessing the nearest ancestor of an element which is actually represented on screen visually. If this element is a visual element, its bounds are relative to its ParentView. + + + The BindableProperty from which to remove the DynamicResource. + Removes a previously set dynamic resource + + + + The BindableProperty. + The key of the DynamicResource + Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key. + + + + Gets or sets a user defined value to uniquely identify the element. + A string uniquely identifying the element. + Use the StyleId property to identify individual elements in your application for identification in ui testing and in theme engines. + + + To be added. + Internal. + To be added. + + + To be added. + Internal. + To be added. + + + + Internal. + + + + + + + + + + Gets or sets a weak reference to the parent of this object. + To be added. + To be added. + + + For internal use only. + To be added. + To be added. + + + To be added. + For internal use only. + To be added. + To be added. + + + For internal use only. + To be added. + To be added. + + + To be added. + To be added. + Sets a value from a renderer without breaking the binding on a bound property. + To be added. + + + To be added. + To be added. + Sets a value from a renderer without breaking the binding on a bound property. + To be added. + + + The identifier of the being sought. + Finds an object previously registered with . + The Object previously associated with by a call to . Raises a if this is not in an . + To be added. + + + To be added. + To be added. + Internal use only. + To be added. + + + Identifier to be used with the . + Object to be associated with the . + Within an , creates an association between and . + To be added. + + + To be added. + To be added. + To be added. + Internal. + To be added. + + + The identifier to be removed. + Removes from an . + To be added. + + + To be added. + For internal use only. + To be added. + To be added. + + + To be added. + To be added. + For internal use only. + To be added. + + + To be added. + To be added. + To be added. + For internal use only. + To be added. + + + To be added. + For internal use only. + To be added. + + + Provides data for events pertaining to a single . + + + + + + + + The element relevant to the event. + Constructs and initializes a new instance of the class. + + + + Gets the element relevant to the event. + The element relevant to the event. + + + + Base class for and classes. + To be added. + + + Used by the XAML infrastructure to load data templates and set up the content of the resulting UI. + To be added. + To be added. + + + For internal use only. + To be added. + To be added. + + + A control that can edit a single line of text. + + Entry is a single line text entry. It is best used for collecting small discrete pieces of information, like usernames and passwords. + + + The following example creates a new username and password set of entries. + + + The FormsGallery sample, which can be found on the Sample Applications page, has an EntryDemoPage.cs file. This file contains a longer and more complicated example. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + IsPassword + + true to indicate that the is a password field. Otherwise, false. + + + Placeholder + The default text that will appear in the control. + + + Text + + The initial text that will appear in the entry. + + + + TextColor + + A color specification, with or without the prefix, "Color". For example, "Color.Red" and "Red" both specify the color red. + + + + + + + + + + Initializes a new instance of the Entry class. + + + + Occurs when the user finalizes the text in an entry with the return key. + This finalization will usually but not always be accompanied by IsFocused being set to false. + + + Gets a value that indicates whether the font for the Entry element text is bold, italic, or neither. + To be added. + To be added. + + + Backing store for the FontAttributes property. + To be added. + + + Gets the font family for the Entry element text. + To be added. + To be added. + + + Backing store for the FontFamily property. + To be added. + + + Gets the size of the font for the Entry element text. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets the horizontal text alignment. + To be added. + To be added. + + + Backing store for the HorizontalTextAlignment property. + To be added. + + + Gets or sets a value that indicates if the entry should visually obscure typed text. This is a bindable property. + + if the element is a password box; otherwise, . Default value is . + Toggling this value does not reset the contents of the entry, therefore it is advisable to be careful about setting IsPassword to false, as it may contain sensitive information. + + + Identifies the IsPassword bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the placeholder text shown when the entry is null or empty. This is a bindable property. + The placeholder text shown when is null or empty. The default value is . + + + + Gets or sets the color of the placeholder text. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Identifies the Placeholder bindable property. + + + + Gets or sets the text of the entry. This is a bindable property. + A string containing the text of the entry. The default value is . + Setting this property will cause the event to be emitted. + + + Event that is raised when the text in this element is changed. + To be added. + + + Gets or sets the for the text of the Entry. This is a bindable property. + The of the text. + + + + Identifies the TextColor bindable property. + + + + Identifies the Text bindable property. + + + + This interface is for internal use by platform renderers. + To be added. + + + A with a label and a single line text entry field. + + The following example shows a basic use. + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Keyboard + A property name that indicates which keyboard to present to the user when editing text. + + + Label + + The text that is presented next to the entry area in the . + + + + LabelColor + + A color specification, with or without the prefix, "Color". For example, "Color.Red" and "Red" both specify the color red. + + + + Placeholder + The default text that will appear in the control when it is empty. + + + Text + + The initial text that will appear in the editor. + + + + XAlign + + + Center, End, or Start, to indicate the placement of the text that is entered by the user. + + + + + + + + + + Initializes a new instance of the EntryCell class. + + + + Event fired when the user presses 'Done' on the EntryCell's keyboard + + + + Gets or sets the horizontal alignement of the Text property. This is a bindable property. + To be added. + To be added. + + + Identifies the HorizontalTextAlignment bindable property. + To be added. + + + Gets or sets the Keyboard to display while editing the EntryCell. This is a bindable property. + A representing the keyboard kind. Default is . + + + + Identifies the Keyboard bindable property. + + + + Gets or sets the fixed text presented next to the Entry in the EntryCell. This is a bindable property. + A . + + + + Gets or sets the Color used for rendering the Label property. This is a bindable property. + Default is Color.Default. + + + + Identifies the LabelColor bindable property. + + + + Identifies the Label bindable property. + + + + Gets or sets the placeholder text displayed in the Entry when the Text is null or empty. This is a bindable property. + + + + + Identifies the Placeholder bindable property, + + + + Gets or sets the content of the Entry of the EntryCell. This is a bindable property. + + + + + Identifies the Text bindable property. + + + + Gets or sets the horizontal alignement of the Text property. This is a bindable property. + Default is . + + + + Identifies the XAlign bindable property. + + + + This interface is for internal use by platform renderers. + To be added. + + + Class that represents a triggering event and a list of objects that will be invoked when the event is raised. + + XAML for Xamarin.Forms supports the following property for the class: + + + Property + Value + + + Event + + The name of the event to which to respond. + + + + Object name + + The qualified name of a implementation that has been defined by the application developer. This object is instantiated and its method is called when the triggering event is raised. Attributes on this tag set corresponding proptery values on the implementation before the method is called. + + + + + + Creates a new instance. + + + + Gets the list of objects that will be invoked when the event that is identified by the property is raised. + + + + + Gets or sets the name of the event that will cause the actions that are contained in the to be invoked. + + + + + Internal. + + + + Internal. + + + + Attribute that identifies a with a unique identifier that can be used with to locate an effect. + + Developers must supply a name that is unique over the scope of the value that was supplied to . The method takes a string that is the concatenation of the the resolution group name that was provided to , '.', and the name that was supplied to , and returns an effect that will have the type . + + For example, with the declarations: + + Then the code below will add the effect to a button: + + + + + + + The type of the marked . + A unique name for the . + Creates a new . + + Developers must supply a that is unique over the scope of the value that was supplied to . The method takes a string that is the concatenation of the the resolution group name that was provided to , '.', and the name that was supplied to , and returns an effect that will have the type . + + For example, with the declarations: + + Then the code below will add the effect to a button: + + + + + + + An that reads an image from a file. + To be added. + + + Creates a new object with default values. + To be added. + + + Request a cancel of the ImageSource loading. + An awaitable Task. + Overriden for FileImageSource. FileImageSource are not cancellable, so this will always returns a completed Task with as Result. + + + Gets or sets the file from which this will load an image. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + To be added. + Method that is called when the property that is specified by is changed. + To be added. + + + To be added. + Allows implicit casting from a string. + To be added. + To be added. + + + To be added. + Allows implicit casting to a string. + To be added. + To be added. + + + A that converts to . + To be added. + + + Creates a new with default values. + To be added. + + + To be added. + Returns if the source type can be converted with this type converter. + To be added. + To be added. + + + To be added. + To be added. + Converts with the specified . + To be added. + To be added. + + + To be added. + Creates a file image source given a path to an image. + To be added. + To be added. + + + Event args for 's and events. + + + + The who's focused was changed. + Whether or not the was focused. + Constructs and initializes a new instance of the class. + + + + Gets whether or not the was focused. + + if the view was focused, otherwise. + + + + Gets the who's focused was changed. + The who's focused was changed. + + + + The font used to display text. + The available fonts, and the matching between and real displayed fonts is device-dependent. + + + The desired font size. + Returns a font instance that represents the default bold font, in the requested size, for the device. + The requested bold . + + + + The desired font . + Returns an usable font instance representing the default bold font, in the requested NamedSize, for the device. + The requested bold . + + + + Gets the default font for the device. + The default font for the device. + To be added. + + + The value to compare this font to. + Determine if the provided is equivalent to the current Font. + + if the provided object is an equivalent font. otherwise. + Overriden. + + + Gets a value that indicates whether the font is bold, italic, or neither. + To be added. + To be added. + + + Gets the font family to which this font belongs. + The font family to which this structure belongs. + To be added. + + + Gets the size of the font. + A that indicates the size of the font. + To be added. + + + Get the Hashcode for this . + A signed 32-bit hash code. + Overriden. + + + Gets a value that tells whether this font has no attributes, belongs to the default family, and has no attributes set. + To be added. + To be added. + + + Gets the named font size, such as "Large" or "Small". + To be added. + To be added. + + + The name of the targeted system font. + The desired font size. + Returns a structure with the requested font and size. + A instance. + Font availability is platform- and device-dependent. + + + The name of the targeted system font. + The desired font . + Returns an usable , with the requested font and NamedSize. + A Font instance. + Font availability is platform and device dependent. + + + To be added. + To be added. + Returns if represents the same font that represents. Otherwise, . + To be added. + To be added. + + + To be added. + To be added. + Returns if does not represent the same font that represents. Otherwise, . + To be added. + To be added. + + + The desired font size. + Returns an usable font instance representing the default font, in the requested size, for the device and platform. + The requested . + + + + The desired font . + Returns an usable font instance representing the default font, in the requested size, for the device and platform. + The requested bold . + + + + The requested font size. + Whether the font is bold, italic, or neither. + Returns a font structure with the specified size and attributes. + A structure with the specified and . + To be added. + + + The requested named font size. + Whether the font is bold, italic, or neither. + Returns a font structure with the specified size and attributes. + A structure with the specified and . + To be added. + + + Returns a string representation of this font structure. + A string representation of this structure. + The method returns a string that contains a labeled, comma-separated list of the , , , and properties. + + + Gets a value that indicates whether the target operating system should use size that is specified by the property. + To be added. + To be added. + + + Whether the font is italic, bold, or neither. + Returns a new font structure with the specified attributes. + A new structure with the attributes that were specified with . + To be added. + + + The requested font size. + Returns a new font structure with the size that was specified with . + To be added. + To be added. + + + The requested named font size. + A new structure with the size that was specified with . + To be added. + To be added. + + + Enumerates values that describe font styles. + To be added. + + + The font is bold. + + + The font is italic. + + + The font is unmodified. + + + Converts a string into a font size. + To be added. + + + Initializes a new object. + To be added. + + + To be added. + Returns a value that indicates if the source type can be converted to a font size. + To be added. + To be added. + + + To be added. + To be added. + Converts an object into a font size. + To be added. + To be added. + + + To be added. + Converts a string representation of a font size into a font size. + To be added. + To be added. + + + To be added. + To be added. + To be added. + For internal use only. + To be added. + To be added. + + + To be added. + To be added. + For internal use only. + To be added. + To be added. + + + A that converts from strings to . + String should be formatted as "[name],[attributes],[size]" there may be multiple attributes, e.g. "Georgia, Bold, Italic, 42" + + + Creates a new with default values. + To be added. + + + To be added. + Returns a Boolean value that indicates whether this can convert the to a instance. + To be added. + To be added. + + + To be added. + To be added. + Converts into a by using the specified . + To be added. + To be added. + + + To be added. + Converts into a . + To be added. + To be added. + + + Represents a text with attributes applied to some parts. + + + + Initializes a new instance of the FormattedString class. + To be added. + + + To be added. + Cast the FormattedString to a string, stripping all the attributes. + To be added. + To be added. + + + To be added. + Cast a string to a FromattedString that contains a single span with no attribute set. + To be added. + To be added. + + + Event that is raised when a bound property is changed. + To be added. + + + Gets the collection of spans. + To be added. + To be added. + + + Returns the text of the formatted string as an unformatted string. + To be added. + To be added. + + + An element containing a single child, with some framing options. + + Frame have a default of 20. + + The following example shows how to construct a new Frame with an Outline color. + + + + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + HasShadow + + + true or false, to indicate whether to show a shadow effect where the platform supports it. + + + + OutlineColor + + A color specification, with or without the prefix, "Color". For example, "Color.Red" and "Red" both specify the color red. + + + + + + + Initializes a new instance of the Frame class. + A Frame has a default of 20. + + + To be added. + To be added. + To be added. + + + To be added. + To be added. + + + Gets or sets a flag indicating if the Frame has a shadow displayed. This is a bindable property. + A indicating whether or not the Frame has a shadow. Default is . + + + + Identifies the HasShadow bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the color of the border of the Frame. This is a bindable property. + A representing the border Color. Default is . + + + + Identifies the OutlineColor bindable property. + + + + The base class for all gesture recognizers. + + + + The parent element of the gesture recognizer. + An element from which the binding context will be inherited. + + + + Gets or sets a weak reference to the parent of this object. + To be added. + To be added. + + + Enumeration specifying the various states of a gesture. + To be added. + + + The gesture has begun and has not ended, failed, or been cancelled. + + + The gesture was cancelled. + + + The gesture has ended. + + + The gesture was not recognized. + + + The gesture is in progress and may still become recognizable. + + + The gesture state is being updated. + + + Enumerates possible gesture states. + To be added. + + + The gesture was canceled. + + + The gesture completed. + + + The gesture is still being recognized. + + + The gesture started. + + + A layout that arranges views in rows and columns. + + + The following example shows a basic use: + + + The following shows Grids on the various platforms: + + + + It is convenient for the layout class arranges to store row and column indices of each of its child elements. Additionally, when a element is laid out with a grid, application developers can access and change the child's position and span from the child itself by using the , , , , static methods, and the equivalent static methods for columns and column spans. + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Children + + Nested visual elements that are displayed in the Grid. + + + + ColumnDefinitions + + A list of ColumnDefinition specifications. See . + + + + ColumnSpacing + An integer. + + + RowDefinitions + + A list of RowDefinition specifications. See . + + + + RowSpacing + + An integer. + + + + XAML for Xamarin.Forms supports the following attached properties for the class: + + + Attached Property + Value + + + Column + + An integer that represents the Column in which the item will appear. + + + + ColumnSpan + An integer that represents the number of Columns that the item will span. + + + Row + + An integer that represents the row in which the item will appear. + + + + RowSpan + + An integer that represents the number of rows that the item will span. + + + + The documentation for the following member methods contains XAML syntax examples: + + + + + Initializes a new instance of the Grid class. + + + + Gets the collection of child elements of the Grid. + The collection of child elements. + + Application developers can use implicit collection syntax in XAML to add items to this collection, because this property is the ContentPropertyAttribute for the Grid class. + + + + Provides the interface for the bound property that gets or sets the ordered collection of objects that control the layout of columns in the . + A ColumnDefinitionCollection for the Grid instance. + + ColumnDefinitions is an ordered set of ColumnDefinition objects that determine the width of each column. Each successive ColumnDefintion controls the width of each successive column. If ColumnDefinitions is empty, or if there are more columns than definitions, then columns for which there is no definition are rendered as if they were controlled by a ColumnDefinition object that has its property set to . + The property has XAML syntax support. The syntax for this operation is shown below. + + + + Implements the property, and allows the class to bind it to properties on other objects at run time. + + + + Implements the attached property that represents the zero-based column index of a child element. See Remarks. + + The interface for this property is defined by the and methods. + + + + Provides the interface for the bound property that gets or sets the distance between columns in the Grid. + The space between columns in this layout. + + The property does not control spacing on the left and right edges of the layout. Application developers can control the spacing around the outside of the layout by setting the property of the visual element to which it belongs. + + + + Implements the property, and allows the class to bind it to properties on other objects at run time. + + + + Implements the attached property that represents the number of columns that a child element spans. See Remarks. + + The interface for this property is defined by the and methods. + + + + An element that belongs to the Grid layout. + Gets the column of the child element. + The column that the child element is in. + + The method corresponds to the value that is set by the following XAML attached property. + + + Attached Property + Value + + + Column + + An integer that represents the Column in which the item will appear. + + + + The remarks for the method contain syntax for and information about the Column attached property. + + + + An element that belongs to the Grid layout. + Gets the column span of the child element. + The column that the child element is in. + + The method corresponds to the value that is set by the following XAML attached property. + + + Attached Property + Value + + + ColumnSpan + + An integer that represents the number of Columns that the item will span. + + + + The remarks for the method contain syntax for and information about the ColumnSpan attached property. + + + + An element that belongs to the Grid layout. + Gets the row of the child element. + The row that the child element is in. + + The method corresponds to the following XAML attached property: + + + Attached Property + Value + + + Row + + An integer that represents the row in which the item will appear. + + + + The remarks for the method contain syntax for and information about the Row attached property. + + + + An element that belongs to the Grid layout. + Gets the row span of the child element. + The row that the child element is in. + + The method corresponds to the following XAML attached properties: + + + Attached Property + Value + + + RowSpan + An integer that represents the number of rows that the item will span. + + + The remarks for the method contain syntax for and information about the RowSpan attached property. + + + + Invalidates the grid layout. + To be added. + + + X-coordinate of the top left corner of the bounding rectangle. + Y-coordinate of the top left corner of the bounding rectangle. + Width of the bounding rectangle. + Height of the bounding rectangle. + + Lays out the child elements when the layout is invalidated. + + To be added. + + + The element that was added. + Method that is called when a child is added to this element. + + + + Application developers override this to respond when the binding context changes. + To be added. + + + The element that was removed. + Method that is called when a child is removed from this element. + To be added. + + + The requested width. + The requested height. + Method that is called when an attempt is made to resize this element. + + The new requested size. + + To be added. + + + Provides the interface for the bound property that gets or sets the collection of RowDefinition objects that control the heights of each row. + A RowDefinitionCollection for the Grid instance. + + RowDefinitions is an ordered set of objects that determine the height of each column. Each successive RowDefintion controls the width of each successive column. If RowDefinitions is empty, or if there are more rows than definitions, then rows for which there is no definition are rendered as if they were controlled by a RowDefinition object that has its property set to . + + + + Implements the property, and allows the class to bind it to properties on other objects at run time. + To be added. + + + Implements the attached property that represents the zero-based row index of a child element. See Remarks. + + The interface for this property is defined by the and methods. + + + + Gets or sets the amount of space left between rows in the Grid. This is a bindable property. + The space between rows + + The property does not control spacing on the top and bottom edges of the layout. Application developers can control the spacing around the outside of the layout by setting the property of the visual element to which it belongs. + + + + Implements the property, and allows the class to bind it to properties on other objects at run time. + + + + Implements the attached property that represents the number of rows that a child element spans, and allows the class to bind it to properties on other objects at run time. + + The interface for this property is defined by the and methods. + + + + A child element of this Grid to move to a different column. + The column in which to place the child element. + Changes the column in which a child element will be placed. + + The method corresponds to the value that is set by the following XAML attached property. + + + Attached Property + Value + + + ColumnSpan + + An integer that represents the Column in which the item will appear. + + + + + + + A child element of this Grid on which to assign a new column span. + The new column span. + Changes the column span of the specified child element. + + The method corresponds to the value that is set by the following XAML attached property. + + + Attached Property + Value + + + Column + + An integer that represents the number of Columns that the item will span. + + + + + + + A child element of this Grid to move to a different row. + The row in which to place the child element. + Changes the row in which a child element will be placed. + + The method corresponds to the following XAML attached property: + + + Attached Property + Value + + + Row + + An integer that represents the row in which the item will appear. + + + + + + + A child element of this Grid on which to assign a new row span. + The new row span. + Changes the row span of the specified child element. + + The method corresponds to the following XAML attached property: + + + Attached Property + Value + + + RowSpan + An integer that represents the number of rows that the item will span. + + + + + + The type of elements in the grid. + List interface with overloads for adding elements to a grid. + + + + The view to add. + The column to add the view to. + The row to add the view to. + Adds a view to the List at the specified location with a RowSpan and HeightSpan of 1. + + + + The view to add. + The left edge of the column span. Must be greater than 0. + The right edge of the column span. Must be greater than left. + The top edge of the row span. Must be greater than 0. + The bottom edge of the row span. Must be greater than top. + Adds a view to the List at the specified row and column spans. + + + + The views to add. + Add a collection views to the List such that they are horizontally stacked to the right of the current contents of the Grid. + The final span of each view is defined to be the height of the grid at the add time, and one column wide at the end of the current arrangement. + + + The view to add. + Add a view to the List such that it is horizontally stacked to the right of the current contents of the Grid. + The final span of the view is defined to be the height of the grid at the add time, and one column wide at the end of the current arrangement. + + + The views to add. + Add a collection views to the List such that they are vertically stacked below the current contents of the Grid. + The final span of each view is defined to be the width of the grid at the add time, and one row tall at the end of the current arrangement. + + + The view to add. + Add a view to the List such that it is vertically stacked below the current contents of the Grid. + The final span of the view is defined to be the width of the grid at the add time, and one row tall at the end of the current arrangement. + + + Used to define the size (width/height) of Grid ColumnDefinition and RowDefinition. + + GridLength of type GridUnitType.Absolute represents exact size. The ones of type GridUnitType.Auto adapts for fitting the size of the elements in the gird column/row. GridLenght of type GridUnitType.Star are used to split the available size in proportional buckets. + This valuetype is readonly. + + + + To be added. + Initializes a new Absolute GridLength. + This is striclty equivalent to new GridLength (value, GridUnitType.Absolute). + + + The size of the GridLength. + The GridUnitType (Auto, Star, Absolute) of the GridLength. + Initializes a new GridLength. + + + + A ready to reuse GridLength of GridUnitType.Auto. + + Value has no meaning for GridLength ot type GridUnitType.Auto. + + + A GridLength to compare to. + Test the equality of this GridLength and another one. + true is the GridLength are equal. False otherwise. + + + + Returns a value that is used for efficient storage of this object in collections. + To be added. + overriden. + + + Gets or sets the GridUnitType of the GridLength + The GridUnitType of the GridLength + + + + Gets wether or not the GridUnitType of the GridLength is GridUnitType.Absolute. + true if the GridUnitType of the GridLength is GridUnitType.Absolute + + + + Gets wether or not the GridUnitType of the GridLength is GridUnitType.Auto. + true if the GridUnitType of the GridLength is GridUnitType.Auto + + + + Gets a value that indicates whether the GridUnitType of the GridLength is GridUnitType.Star. + true if the GridUnitType of the GridLength is GridUnitType.Star + + + + The absolute size + Casting operator to convert a double into a GridLength of type GridUnitType.Absolute + A GridLength of type GridUnitType.Absolute and of size absolutesize + + + + A ready to reuse GridLength of GridUnitType.Star with a Value of 1. + + If a Value other than 1 is needed with GridUnitType.Star, then use the constructor GridLength (value, GridUnitType.Star). + + + Returns the value and the grid unit type, separated by a ".". + To be added. + To be added. + + + Gets the Value of the GridLength. + The value in GridUnitType of the GridLength. + + + + A that converts from strings to s. + + The following example shows some uses of : + + + + + + + Creates a new object with default values. + To be added. + + + To be added. + Returns a Boolean value that indicates whether this can convert the to a instance. + To be added. + To be added. + + + To be added. + To be added. + Converts into a by using the specified . + To be added. + To be added. + + + To be added. + Converts a valid grid length descriptor in to a . + To be added. + To be added. + + + Enumerates values that control how the property is interpreted for row and column definitions. + To be added. + + + Interpret the property value as the number of device-specific units. + To be added. + + + Ignore the property value and choose a size that fits the children of the row or column. + To be added. + + + Interpret the property value as a proportional weight, to be laid out after rows and columns with or are accounted for. + After all the rows and columns of type and are laid out, each of the corresponding remaining rows or columns, which are of type , receive a fraction of the remaining available space. This fraction is determined by dividing each row's or column's property value by the sum of all the row or column property values, correspondingly, including its own. + + + An abstract attribute whose subclasses specify the platform-specific renderers for Xamarin.Forms abstract controls. + To be added. + + + To be added. + To be added. + Creates a new object that maps events from to . + To be added. + + + Returns a Boolean value that indicates whether the runtime should automatically register the handler for the target. + To be added. + To be added. + + + A WebViewSource bound to an HTML-formatted string. + To be added. + + + Creates a new empty object with default values. + To be added. + + + The base URL for the source HTML document. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + The HTML content. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Defines an interface for elements that can be animated. + To be added. + + + Implement this method to begin a batch of animations that have been committed. + To be added. + + + Implement this method to commit a batch of animations so that they can be run with the method. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + + + Interface that represents a deep application link in an app link search index. + To be added. + Application Indexing and Deep Linking + + + Gets or sets an application-specific URI that uniquely describes content within an app. + An application-specific URI that uniquely describes content within an app. + To be added. + Application Indexing and Deep Linking + + + Gets or sets a description that appears with the item in search results. + To be added. + To be added. + Application Indexing and Deep Linking + + + Gets or sets a value that tells whether the item that is identified by the link entry is currently open. + A value that tells whether the item that is identified by the link entry is currently open. + Application developers can set this value in and methods to control whether the app link is shown for indexing or Handoff. + Application Indexing and Deep Linking + + + Gets a dictionary of application-specific key-value pairs. + A dictionary of standard and application-specific key-value pairs that is used for Handoff on the iOS platform. + The standard keys are contentType, associatedWebPage, and shouldAddToPublicIndex. + Application Indexing and Deep Linking + + + Gets or sets a small image that appears with the item in search results. + A small image that appears with the item in search results + To be added. + Application Indexing and Deep Linking + + + Gets or sets the title of the item. + The title of the item. + To be added. + Application Indexing and Deep Linking + + + Interface that defines the methods that are required for registering and deregistering links to content in apps. + Developers should note that extra steps are required to enable deep linking on the Android platform. See the related article that is linked below. + Application Indexing and Deep Linking + + + The that represents the link to remove from the app index. + Removes the provided application link from the application index. + This method has no effect on the Android platform. + Application Indexing and Deep Linking + + + The to remove from the app index. + Removes the provided application link from the application index. + This method has no effect on the Android platform. + Application Indexing and Deep Linking + + + The to add to the app index. + Adds the provided application link to the application index. + To be added. + Application Indexing and Deep Linking + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + To be added. + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + + + Interface defining the type of and . + + Objects of type are parameterized with a type of . + + + + + + + Event that is raised when the size of the row or column changes. + To be added. + + + When implemented in a renderer, registers a platform-specific effect on an element. + To be added. + + + The effect to register. + Registers the effect with the element by establishing the parent-child relations needed for rendering on the specific platform. + To be added. + + + To be added. + To be added. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + Base class for type converters. + To be added. + + + To be added. + To be added. + To be added. + Converts with the specified and . + To be added. + To be added. + + + To be added. + To be added. + Converts with the specified . + To be added. + To be added. + + + The base interface all gesture recognizers must implement. + This interface is currently empty, this will likely change. + + + This interface is for internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + This interface is for internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + Interface indicating layout behavior and exposing the event. + To be added. + + + Event that is raised when the layout changes. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + + that holds an image. + + + The following example creates a new image from a file + + + + + The FormsGallery sample, which can be found on the Sample Applications page, has a ImageDemoPage.cs file. This file contains a longer and more complicated example. + + + + Initializes a new instance of the Image class. + + + The following example creates a new image from a file + + + + + + + + Gets or sets the scaling mode for the image. This is a bindable property. + A representing the scaling mode of the image. Default is . + + + + Identifies the Aspect bindable property. + + + + Gets the loading status of the image. This is a bindable property. + A indicating if the image is loading. Default is false. + + + The following example illustrates running a to indicate that the image is loading: + + + + + + + Identifies the IsLoading bindable property. + This bindable property is readonly. + + + Gets or sets the opacity flag for the image. This is a bindable property. + A indicating the value for the property. Default is false. + If true, you'll be able to see through transparent parts of the image. + + + Identifies the IsOpaque bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Invoked when the BindingContext changes. + Overriden for Image. + + + The name of the property. + Invoked when a property has changed. + Overriden for Image. + + + The name of the property. + Invoked when a property will change. + Overriden for Image. + + + The available width. + The available height. + Invoked when the layotu cycle request the element desired size. + + Overriden for Image. + + + Gets or sets the source of the image. This is a bindable property. + An representing the image source. Default is null. + + + + Identifies the Source bindable property. + + + + To be added. + To be added. + To be added. + + + A that has an image. + + + objects are used to place images and accompanying text into a table. + + The following example shows a basic use. + + + + + + + + + Initializes a new instance of the ImageCell class. + + + + Gets or sets the ImageSource from which the Image is loaded. This is a bindable property. + + + + + Identifies the ImageSource bindable property. + + + + Overriden.. + + + + Abstract class whose implementors load images from files or the Web. + To be added. + + + To be added. + To be added. + + + Request a cancel of the ImageSource loading. + An awaitable Task. The result of the Task indicates if the Task was successfully cancelled. + Calling Cancel() multiple times will throw an exception. + + + Gets the CancellationTokenSource. + + Used by inheritors to implement cancellable loads. + + + The name of a file that contains a valid image. + Returns a new that reads from . + To be added. + To be added. + + + A string representing the id of the EmbeddedResource to load. + Creates an ImageSource for an EmbeddedResource included in the Assembly from which the call to FromResource is made. + A newly created ImageSource. + + + + The name of a valid image resource in . + The source assembly in which to search for the image. + Creates a from the specified resource in the specified source assembly. + To be added. + To be added. + + + The name of a valid image resource in the assembly to which belongs. + A type from the assembly in which to look up the image resource with . + Creates a from the specified resource in the specified source assembly. + To be added. + To be added. + + + A stream that supplies image data. + Returns a new that reads from . + To be added. + To be added. + + + A URI that identifies a valid image. + Returns a new that reads from . + To be added. + To be added. + + + A bool indicating if the source was cancelled. + Called by inheritors to indicate the end of the loading of the source. + OnLoadingCompleted should follow a OnLoadingStarted. + + + Called by inheritors to indicate the beginning of a loading operation. + OnLoadingCompleted should follow a OnLoadingStarted. + + + Called by inheritors to indicate that the source changed.. + To be added. + + + A string that represents an image location. + Allows implicit casting from a string that represents an absolute URI. + To be added. + To be added. + + + A absolute URI that specifies an image location. + Allows implicit casting from objects that were created with an absolute URI. + To be added. + To be added. + + + Gets or sets the element to which this object belongs. + To be added. + To be added. + + + Gets or sets a weak reference to the parent of this object. + To be added. + To be added. + + + Class that takes a string representation of an image file location and returns a from the specified resource. + To be added. + + + Creates a new with default values. + To be added. + + + A type to query. + Returns if the converter can create and return a for items of the specified source type. Otherwise, . + + if the converter can create and return a for items of the specified source type. Otherwise, . + To be added. + + + To be added. + To be added. + Creates and returns a for the specified and . + A for the specified and . + To be added. + + + To be added. + Returns an image source created from a URI that is contained in . + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + Interface that contains a read-only property that returns the platform-specific native view for a Xamarin.Forms element. + To be added. + + + Gets the platform-specific native view for a Xamarin.Forms element. + To be added. + To be added. + + + Interface abstracting platform-specific navigation. + + Note that on the Android platform, operations do not generate activity lifecycle notifications. For each that you push or pop, the Android implementation of simply adds or removes the content of the page to or from a single activity. + Also note that the Windows Phone platform provides navigation natively. Therefore, you do not need to use a object to get navigation on that platform. + + + + The page to add. + The existing page, before which will be inserted. + Inserts a page in the navigation stack before an existing page in the stack. + To be added. + + + Gets the modal navigation stack. + To be added. + To be added. + + + Gets the stack of pages in the navigation. + To be added. + To be added. + + + Asynchronously removes the most recent from the navigation stack. + The that had been at the top of the navigation stack. + To be added. + + + To be added. + Asynchronously removes the most recent from the navigation stack, with optional animation. + To be added. + To be added. + + + Asynchronously dismisses the most recent modally presented . + An awaitable Task<Page>, indicating the PopModalAsync completion. The Task.Result is the Page that has been popped. + + The following example shows PushModal and PopModal usage: + + + + + Application developers must the result of and . Calling may cause a deadlock if a previous call to or has not completed. + + + + + To be added. + Asynchronously dismisses the most recent modally presented , with optional animation. + To be added. + To be added. + + + Pops all but the root off the navigation stack. + A task representing the asynchronous dismiss operation. + To be added. + + + To be added. + Pops all but the root off the navigation stack, with optional animation. + To be added. + To be added. + + + The to be pushed on top of the navigation stack. + Asynchronously adds a to the top of the navigation stack. + A task representing the asynchronous dismiss operation. + + + The following example shows and usage: + + + + + + + + To be added. + To be added. + Asynchronously adds a to the top of the navigation stack, with optional animation. + To be added. + To be added. + + + The to present modally. + Presents a modally. + An awaitable Task, indicating the PushModal completion. + + The following example shows PushModalAsync and PopModalAsync usage: + + + + + + + To be added. + To be added. + Presents a modally, with optional animation. + To be added. + To be added. + + + To be added. + Removes the specified page from the navigation stack. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + The base class of a view which can take keyboard input. + The constructor of this class is internal. Forms does not provide any renderer for InputView base class. + + + Gets or sets the Keyboard for the InputView. This is a bindable property. + The to use for the InputView. + + + + Identifies the Keyboard bindable property. + + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + To be added. + Interface defining a container for s and exposing a property. + To be added. + + + Gets the current page. + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + Interface defining the abstraction of a native platform. + To be added. + + + The binding context for the native platform. + To be added. + To be added. + + + Event that is raised when the binding context changes. + To be added. + + + The platform engine, useful for getting the screen size and for finding out if the paltform supports 3D. + To be added. + To be added. + + + Gets the root page of the platform. + To be added. + To be added. + + + To be added. + Sets the root page of the platform. + To be added. + + + To be added. + To be added. + To be added. + To be added. + + + Interface defining a native platform rendering engine. + To be added. + + + To be added. + To be added. + To be added. + Performs a size request on the native platform. + To be added. + To be added. + + + Gets a Boolean value that indicates whether the native platform supports 3D graphics. + To be added. + To be added. + + + Internally-used flagging interface indicating types that can be registered with . + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + To be added. + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + + + To be added. + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + For internal use by platform renderers. + To be added. + To be added. + + + To be added. + To be added. + To be added. + + + To be added. + To be added. + To be added. + + + To be added. + To be added. + + + To be added. + To be added. + To be added. + + + The type of visual that the items will be templated into. + A base class for a view that contains a templated list of items. + + + This class is used as a base class for views that wish to take in a list of user objects and produce views for each of them to be displayed, such as . The generic + argument is used to specify the type of visual that the view expects. In the case of , only subclasses are accepted, so that's + what it provides as its argument. + + + + + The user object + Creates a default instance for . + An instance of the class. + + This method is called by the templating system when is . + The of the returned object will automatically be set to , there is no + need to set it yourself. If you do, it will be overridden. + + + + Gets or sets the source of items to template and display. + To be added. + + While any implementer is accepted, any that do not implement or + (where T is a class) will be converted to list by iterating. + If your collection implements , any changes raised from the event on this interface will be reflected in the items view. Note that if the event + is raised on another thread the main thread, the results will be unpredictable depending on the platform. To safely modify your collection (and raise the event) from another thread, call + to enable proper synchronization of access to the thread. + + + + Identifies the property. + + + + Gets or sets the to apply to the . + The for the , or + + The ItemTemplate is used to define the visual appearance of objects from the . Through + the item template you can set up data bindings to the user objects supplied to automatically fill in the visual and respond to any changes in the user + object. + If the item template is , is called and the result is used as the visual. + + In this example, a template for a is created for a simple user object. + + + + + + + + + Identifies the property. + + + + The visual content to setup. + The index of the content. + Performs any additional setup for the content at creation time. + + This method is called when the is creating visuals for user items. At this point, + the will have been set. You can override this method to perform additional setup + for content specific to your subclass. , for example, uses + this method to set to itself. + + + + To be added. + Application developers override this method to unregister event handlers for items that they registered in . + + Application developers must call before performing any other action when overriding this method. + Application developers who override to allocate resources must override this method in order to deallocate them. + + + + To be added. + Creates a default TVisual by using + To be added. + To be added. + + + To be added. + To be added. + Configures . + To be added. + + + To be added. + Internal use only. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + To be added. + + + Event arguments for the event. + To be added. + + + To be added. + To be added. + Creates a new object for the specified that was tapped and the to which it belongs. + To be added. + + + The collection of elements to which the tapped item belongs. + To be added. + To be added. + + + The visual element that the user tapped. + To be added. + To be added. + + + Event args when an items visiblity has been changed in a . + + + + The modified item. + Initializes a new instance of the ItemVisibilityEventArgs class with the item whose visibility has changed. + + + + The item from the whose visibility has changed. + An object. + + + + Interface defining methods for two-way value conversion between types. + To be added. + + + To be added. + To be added. + To be added. + To be added. + Implement this method to convert to by using and . + To be added. + To be added. + + + To be added. + To be added. + To be added. + To be added. + Implement this method to convert back from by using and . + To be added. + To be added. + + + To be added. + The type of element that can be added to the container. + + + + The children collection of a visual element. + The collection containing the visual elements children. + + + + This interface is for internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + + + For internal use by platform renderers. + To be added. + + + This interface is for internal use by platform renderers. + To be added. + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + To be added. + For internal use by platform renderers. + To be added. + + + Default keyboard and base class for specialized keyboards, such as those for telephone numbers, email, and URLs. + To be added. + + + Gets an instance of type "ChatKeyboard". + To be added. + To be added. + + + To be added. + Returns a new keyboard with the specified . + To be added. + To be added. + + + Gets an instance of type "Keyboard". + To be added. + To be added. + + + Gets an instance of type "EmailKeyboard". + To be added. + To be added. + + + Gets an instance of type "NumericKeyboard". + To be added. + To be added. + + + Returns a new keyboard with None ". + To be added. + To be added. + + + Gets an instance of type "TelephoneKeyboard". + To be added. + To be added. + + + Gets an instance of type "TextKeyboard". + To be added. + To be added. + + + Gets an instance of type "UrlKeyboard".. + To be added. + To be added. + + + Flagging enumeration for Keyboard options such as Capitalization, Spellcheck, and Suggestions. + To be added. + + + Capitalize the first words of sentences, and perform spellcheck and offer suggested word completions on text that the user enters. + + + Capitalize the first words of sentences. + + + No special features provided by the keyboard. + + + Perform spellcheck on text that the user enters. + + + Offer suggested word completions on text that the user enters. + + + A that converts a string into a . + + The following XAML snippet illustrates a case where a KeyboardTypeConverter is used behind the scenes: + + + ]]> + + The following shows some examples of forms: + + { + {"Keyboard.Default", Keyboard.Default}, + {"Keyboard.Email", Keyboard.Email}, + {"Keyboard.Text", Keyboard.Text}, + {"Keyboard.Url", Keyboard.Url}, + {"Keyboard.Telephone", Keyboard.Telephone}, + {"Keyboard.Chat", Keyboard.Chat}, +}) +Assert.AreSame (kvp.Value, converter.ConvertFrom (kvp.Key)); + ]]> + + + + + Initializes a new instance of the KayboardTypeConverter class. + + + + The type of the object. + Returns wheher this converter can convert an object of the given type. + + if the KeyboardTypeConverter can convert from sourceType. otherwise. + This method only returns is sourceType is . + + + The Culture fo the value parameter. + The object to convert from. + TConvert the given value into a Keyboard. + A . + This will throw an IvalidOperationException if the conversion failed. + + + To be added. + Returns a keyboard for a valid keyboard name. + To be added. + To be added. + + + A that displays text. + + A Label is used to display single-line text elements as well as multi-line blocks of text. + + + + The following example, adapted from the default Xamarin Forms solution, shows a basic use: + + + The FormsGallery sample, which can be found on the Sample Applications page, has a LabelDemoPage.cs file. This file contains a longer and more complete example. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Font + + Deprecated. Use FontAttributes, FontFamily, and FontSize, instead. A string of the format [name],[attributes],[size]. The font specification may contain multiple attributes, e.g. Georgia, Bold, Italic, 42. + + + + FontAttributes + + + Bold, Bold,Italic, or None. + + + + FontFamily + + A font family, such as sans-serif or monospace. + + + + FontSize + + A named size, such as Large, or an integer that represents the size in device units. + + + + + LineBreakMode + + A string that corresponds to a enumeration value. + + + + Text + + The text that will appear on the label. + + + + TextColor + + A color specification, with or without the prefix, "Color". For example, "Color.Red" and "Red" both specify the color red. + + + + HorizontalTextAlignment + + + Center, End, or Start, to indicate the horizontal placement of the label text. + + + + VerticalTextAlignment + + + Center, End, or Start, to indicate the vertical placement of the label text. + + + + + + + Initializes a new instance of the Label class. + + + + Gets or sets the Font for the Label. This is a bindable property. + The value for the Label. The default is , which represents the default font on the platform. + + + + Gets a value that indicates whether the font for the label is bold, italic, or neither. + To be added. + To be added. + + + Backing store for the FontAttributes property. + To be added. + + + Gets the font family to which the font for the label belongs. + To be added. + To be added. + + + Backing store for the FontFamily property. + To be added. + + + Backing store for the Font bindable property. + + + + Gets the size of the font for the label. + To be added. + To be added. + + + Backing store for the FontSize property. + To be added. + + + Gets or sets the formatted text for the Label. This is a bindable property. + The value to be displayed inside of the Label. This is a bindable property. + Setting FromattedText to a non-null value will set the Text property to null. + + + + Backing store for the FormattedText property. + To be added. + + + Gets or sets the horizontal alignement of the Text property. This is a bindable property. + To be added. + To be added. + + + Identifies the HorizontalTextAlignment bindable property + To be added. + + + Gets or sets the LineBreakMode for the Label. This is a bindable property. + The value for the Label. The default is + + + + Backing store for the LineBreakMode bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the text for the Label. This is a bindable property. + The value to be displayed inside of the Label. + Setting Text to a non-null value will set the FormattedText property to null. + + + + Gets or sets the for the text of this Label. This is a bindable property. + The value. + + + + Backing store for the TextColor bindable property. + + + + Backing store for the Text bindable property. + + + + Gets or sets the vertical alignement of the Text property. This is a bindable property. + To be added. + To be added. + + + Identifies the VerticalTextAlignment bindable property. + To be added. + + + Gets or sets the horizontal alignment for the Text inside of the Label bound. + The value. The default is , i.e. the text is left-aligned. + + + + Backing store for the XAlign bindable property. + + + + Gets or sets the vertical alignment for the Text inside of the Label bound. + The value. The default is , i.e. the text is top-aligned. + + + + Backing store for the YAlign bindable property. + + + + + Provides the base class for all Layout elements. Use Layout elements to position and size child elements in Forms applications. + + + Subtypes of include , , and , as shown in the following diagram. + The property of contains a list of children of the parameterized type T, which must be a type of . Since is itself a subclass of , this allows s to hold sub-layouts, scrolling regions, etc. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + IsClippedToBounds + + + true or false, to indicate whether the layout is clipped to its bounding rectangle. + + + + Padding + + A comma-separated list of 4 integers that represent a structure. + + + + + + + + + + Intitializes a new instance. + To be added. + + + Forces a layout cycle on the element and all of its descendants. + + Calling ForceLayout frequently can have negative impacts on performance. + + + + The available width that a parent Layout can allocate to a child. Value will be between 0 and double.PositiveInfinity. + The available height that a parent Layout can allocate to a child. Value will be between 0 and double.PositiveInfinity. + Returns the of the Layout. Calling this method begins the measure pass of a layout cycle. + A which contains a requested size and a minimum size. + + + Calling GetSizeRequest causes a measure pass to occur for the subtree of elements it is called on. It is ideal to only call GetSizeRequest when needed as excessive calls can negatively impact the performance of the app. Overriding GetSizeRequest should only be done if the developer wants to ignore Width/HeightRequest. More likely a subclass would wish to override . + + + + + + Invalidates the current layout. + Calling this method will invalidate the measure and triggers a new layout cycle. + + + Gets or sets a value which determines if the Layout should clip its children to its bounds. + + if the Layout is clipped; otherwise, . The default value is . + To be added. + + + Identifies the bindable property. + + + + Occurs at the end of a layout cycle if any of the child element's have changed. + + Developers wishing to implement animations may wish to begin them at the end of a LayoutChanged event. + + + + The child element to be positioned. + The bounding region in which the child should be positioned. + Positions a child element into a bounding region while respecting the child elements and . + This method is called in the layout cycle after the general regions for each child have been calculated. This method will handle positioning the element relative to the bounding region given if the bounding region given is larger than the child's desired size. + + + A value representing the x coordinate of the child region bounding box. + A value representing the y coordinate of the child region bounding box. + A value representing the width of the child region bounding box. + A value representing the height of the child region bounding box. + Positions and sizes the children of a Layout. + Implementors wishing to change the default behavior of a Layout should override this method. It is suggested to still call the base method and modify its calculated results. + + + The view to lower in the visual stack. + Sends a child to the back of the visual stack. + Children are internally stored in visual stack order. This means that raising or lowering a child also changes the order in which the children are enumerated. + + + Invoked whenever a child of the layout has emitted . Implement this method to add class handling for this event. + To be added. + + + The child element whose preferred size changed. + The event data. + Invoked whenever a child of the layout has emitted . Implement this method to add class handling for this event. + This method has a default implementation and and application developers must call the base implementation. + + + The new width of the element. + The new height of the element. + This method is called when the size of the element is set during a layout cycle. This method is called directly before the event is emitted. Implement this method to add class handling for this event. + This method has a default implementation which triggers the layout cycle of the Layout to begin. + + + Gets or sets the inner padding of the Layout. + The Thickness values for the layout. The default value is a Thickness with all values set to 0. + + + The padding is the space between the bounds of a layout and the bounding region into which its children should be arranged into. + + + The following example shows setting the padding of a Layout to inset its children. + + + + + + + + Identifies the Padding bindable property. + + + + The view to raise in the visual stack. + Sends a child to the front of the visual stack. + Children are internally stored in visual stack order. This means that raising or lowering a child also changes the order in which they are enumerated. + + + To be added. + When implemented, should return if should call , and to return if it should not. + To be added. + To be added. + + + To be added. + When implemented, should return if should call when it is removed, and to return if it should not. + To be added. + To be added. + + + Instructs the layout to relayout all of its children. + This method starts a new layout cycle for the layout. Invoking this method frequently can negatively impact performance. + + + Internal. + To be added. + To be added. + + + The subclass of the layout contains. + A base implementation of a layout with undefined behavior and multiple children. + + + s contain that are of the type T with which the was specified. This T must be of type . Since s are subclasses of , this means that layouts may be nested, contain scrolling regions, etc. + + The following image shows the relationship between , , , and important subtypes. + + + + + The following example shows adding and removing elements from a layout. + + + layout, IEnumerable newItems) + { + layout.Children.Clear (); + foreach (var item in newItems) { + layout.Children.Add (item); + } + } + ]]> + + + + + Provides the base initialization for objects derived from the Layout<T> class. + + + + Gets an IList<View> of child element of the Layout. + A IList<View>. The default is an empty list. + + + The Children collection of a Layout contains all the children added throught the public add/remove interface. Internal children will not be exposed through this collection. + + + The following shows the creation of a layout, setting a property, and adding the children in the object initializer. + + + + + + + + The view which was added. + Invoked when a child is added to the layout. Implement this method to add class handling for this event. + This method is different from in that it provides a typed child consistent with the type of the Layout<T>. + + + To be added. + Application developers can override this method to respond when a child is added. + Application developers who override this method must call base.OnChildAdded before performing any other actions in their override. + + + To be added. + Application developers can override this method to respond when a child is removed. + Application developers who override this method must call base.OnChildRemoved before performing any other actions in their override. + + + The view which was removed. + Invoked when a child is removed from the layout. Implement this method to add class handling for this event. + This method is different from in that it provides a typed child consistent with the type of the Layout<T>. + + + Values that represent LayoutAlignment. + To be added. + + + The center of an alignment. + + + The end of an alignment. Usually the Bottom or Right. + + + Fill the entire area if possible. + + + The start of an alignment. Usually the Top or Left. + + + A struct whose static members define various alignment and expansion options. + To be added. + + + An alignment value. + Whether or not an element will expand to fill available space in its parent. + Creates a new object with and . + To be added. + + + Gets or sets a value that indicates how an element will be aligned. + The flags that describe the behavior of an element. + To be added. + + + A structure that describes an element that is centered and does not expand. + To be added. + + + A structure that describes an element that is centered and expands. + To be added. + + + A structure that describes an element that appears at the end of its parent and does not expand. + To be added. + + + A object that describes an element that appears at the end of its parent and expands. + To be added. + + + Gets or sets a value that indicates whether or not the element that is described by this structure will occupy the largest space that its parent will give to it. + Whether or not the element that is described by this structure will occupy the largest space that its parent will give it. if the element will occupy the largest space the parent will give to it. if the element will be as compact as it can be. + To be added. + + + A stucture that describes an element that has no padding around itself and does not expand. + To be added. + + + A structure that describes an element that has no padding around itself and expands. + To be added. + + + A structure that describes an element that appears at the start of its parent and does not expand. + To be added. + + + A structure that describes an element that appears at the start of its parent and expands. + To be added. + + + Class that takes a string representation of a and returns a corresponding . + To be added. + + + Creates a new with default values. + To be added. + + + A type to query. + Returns if the converter can create and return a for items of the specified source type. Otherwise, . + To be added. + To be added. + + + To be added. + To be added. + Creates and returns a for the specified and . + A for the specified and . + To be added. + + + To be added. + Returns a for a valid layout options string. + To be added. + To be added. + + + Enumeration specifying various options for line breaking. + To be added. + + + Wrap at character boundaries. + + + Truncate the head of text. + + + Truncate the middle of text. This may be done, for example, by replacing it with an ellipsis. + + + Do not wrap text. + + + Truncate the tail of text. + + + Wrap at word boundaries. + + + Type converter for converting properly formatted string lists to lists. + To be added. + + + Creates a new object. + To be added. + + + To be added. + Converts to a list. + To be added. + To be added. + + + An that displays a collection of data as a vertical list. + + + + + The following example shows a basic use: + + people = new List + { + new Person("Abigail", new DateTime(1975, 1, 15), Color.Aqua), + new Person("Bob", new DateTime(1976, 2, 20), Color.Black), + // ...etc.,... + new Person("Yvonne", new DateTime(1987, 1, 10), Color.Purple), + new Person("Zachary", new DateTime(1988, 2, 5), Color.Red) + }; + + // Create the ListView. + ListView listView = new ListView + { + // Source of data items. + ItemsSource = people, + + // Define template for displaying each item. + // (Argument of DataTemplate constructor is called for + // each item; it must return a Cell derivative.) + ItemTemplate = new DataTemplate(() => + { + // Create views with bindings for displaying each property. + Label nameLabel = new Label(); + nameLabel.SetBinding(Label.TextProperty, "Name"); + + Label birthdayLabel = new Label(); + birthdayLabel.SetBinding(Label.TextProperty, + new Binding("Birthday", BindingMode.OneWay, + null, null, "Born {0:d}")); + + BoxView boxView = new BoxView(); + boxView.SetBinding(BoxView.ColorProperty, "FavoriteColor"); + + // Return an assembled ViewCell. + return new ViewCell + { + View = new StackLayout + { + Padding = new Thickness(0, 5), + Orientation = StackOrientation.Horizontal, + Children = + { + boxView, + new StackLayout + { + VerticalOptions = LayoutOptions.Center, + Spacing = 0, + Children = + { + nameLabel, + birthdayLabel + } + } + } + } + }; + }) + }; + + // Accomodate iPhone status bar. + this.Padding = new Thickness(10, Device.OnPlatform(20, 0, 0), 10, 5); + + // Build the page. + this.Content = new StackLayout + { + Children = + { + header, + listView + } + }; + } + } +} + +]]> + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + + HasUnevenRows + + + true or false, to indicate whether the items in the list all have the same height. + + + + IsGroupingEnabled + + + true or false, to indicate whether grouping is enabled. + + + + RowHeight + + An integer that describes the height of the items in the list. This is ignored if HasUnevenRows is true. + + + + + + + + Creates and initializes a new instance of the class. + + + + A value that indicates how the List View should manage memory when displaying data items using a data template. + Creates and initializes a new instance of the class, with the specified caching strategy. + + For memory and performance reasons, application developers should strongly prefer , when possible. See for more details. + + When devolopers specify , OnElementChanged events are not raised when cells are recycled. Instead, the cell is retained and its property values change when the binding context is updated to that of an available cell, OnElementPropertyChanged events are raised. Application developers should remember to listen for the correct events, and should note that their renderers will need to be updated if the default behavior changes to in a future release. + + + + + Enters the refreshing state by setting the property to . + To be added. + + + The item to create a default visual for. + Creates an instance of the default visual representation of an item. + + A instance with its text set to the string representation of the object (). + + + + This method is called by the templating system when is . + + + The of the returned object will automatically be set to , there is no + need to set it yourself. If you do, it will be overridden. + + + + + Exits the refreshing state by setting the property to . + To be added. + + + Gets or sets the string, binding, or view that will be displayed at the bottom of the list view. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets a data template to use to format a data object for display at the bottom of the list view. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets the binding to use for display the group header. + The instance to apply to grouped lists, or . + + + This binding can be used to simply set a the text of the group headers without defining a full template and uses the default visuals + of the platform to display it. The binding is applied to the of the group. + + + This property is mutually exclusive with property. Setting it will set + to . + + + + This example shows an alphabetized list of people, grouped by first initial with the display binding set. + + + { + public Group (string firstInitial) + { + FirstInitial = firstInitial; + } + + public string FirstInitial + { + get; + private set; + } + } + ]]> + + + + + Identifies the property. + + + + Gets or sets a for group headers. + The for group headers, or . + + + Use this property to define a template for a that will be used as the header for groups in this + . The will be the + for each group. + + + GroupHeaderTemplate is mutually exclusive with . Setting this property + will set to . + + Empty groups will still display a group header. + + + + + + + Identifies the property. + + + + Gets or sets a binding for the name to display in grouped jump lists. + The instance to apply to grouped lists, or . + + + When grouping items in a , it is often useful to have jump lists to jump to specific + sections in the list. For example, in an alphabetically grouped lists, the jump list would be the the letter of each group. + This binding is applied against the of each group to select the short name to display + in the jump list. + + + Note: On Android, there is no displayed jump list. + + + + This example shows an alphabetized list of people, grouped by first initial with the short name binding set. + + +{ + public Group (string firstInitial) + { + FirstInitial = firstInitial; + } + + public string FirstInitial + { + get; + private set; + } +} + ]]> + + + + + Identifies the property. + + + + Gets or sets a Boolean value that indicates whether this element has uneven rows. + + if this control has uneven rows. Otherwise, + + Application developers will find that the easiest and least error-prone way to automatically size list view rows for content is: first, to set the property to ; and, second, to either leave at its default value of -1, or set it to -1 if it has been changed. + Application developers will find that the easiest and least error-prone way to set all rows to a constant size is to first set to , and then either: leave at its default value of -1 (or set it back to that value if it has been changed) in order to get the default height for the system; or set the property to the desired uniform row height. + A more detailed discussion follows, below. + When the app developer sets the property to , the behavior of the list view depends on the property. First, if the developer sets the property to a positive value, then all rows in the , irrespective of the height of their content, will be as tall as the specified property value. Second, if the develper instead does not set the property, or sets it to a nonpositive value, then all rows in the , irrespective of the height of their content, will have the default row height for the system. + When the app developer sets the property to , the behavior of the list view still depends on the property. First, if the developer either does not set the property or sets it to -1, list view items are autosized to fit their contents. This is the desired behavior and the intended use case for a value of , as noted above. Second, if the developer sets the property to 0 or to a negative value other than -1, then all rows in the will, irrespective of the height of their content, have the default height for the system. Third, and finally, if the developer sets to a positive value, then all rows in the will, irrespective of the height of their content, be as tall as , as if had been set to . + + + + + Identifies the property. + + + + Gets or sets the string, binding, or view that will be displayed at the top of the list view. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets a data template to use to format a data object for display at the top of the list view. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets whether or not grouping is enabled for . + + if grouping is enabled, otherwise and by default. + + + + + + + Identifies the property. + + + + Gets or sets a value that tells whether the user can swipe down to cause the application to refresh. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets a value that tells whether the list view is currently refreshing. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Occurs when the visual representation of an item is being added to the visual layout. + This method is guaranteed to fire at some point before the element is on screen. + + + Occurs when the visual representation of an item is being removed from the visual layout. + This method is for virtualization usage only. It is not guaranteed to fire for all visible items when the List is removed from the screen. Additionally it fires during virtualization, which may not correspond directly with removal from the screen depending on the platform virtualization technique used. + + + Event that is raised when a new item is selected. + To be added. + + + Event that is raised when an item is tapped. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Method that is called when the binding context changes. + To be added. + + + To be added. + To be added. + Method that is called when a size request is made.. + To be added. + To be added. + + + Gets or sets the command that is run when the list view enters the refreshing state. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Event that is raised when the list view refreshes. + To be added. + + + Gets or sets a value that represents the height of a row. + To be added. + To be added. + + + The backing store for the property. + + + + The item from your to scroll to. + How the item should be positioned on screen. + Whether or not the scroll should be animated. + Scrolls the ListView to the . + + A linear search is done for the item, so if the same reference appears multiple times in the list, the first item will be scrolled to. This includes if grouping is enabled. + + + contains an invalid value for . + + + The item from your to scroll to. + The group from your to scroll to. + How the item should be positioned on screen. + Whether or not the scroll should be animated. + Scrolls the ListView to the in the + + A linear search is done for the item, so if the same reference appears multiple times in the , the first item will be scrolled to. The same item in a different group will be ignored. + + + contains an invalid value for . + + + is . + + + Gets or sets the currently selected item from the . + The selected item or if no item is selected. + + + + Identifies the property. + + + + Gets or sets the color of the bar that separates list items. + To be added. + The default value is Color.Default. This property has no effect if is . + + + Backing store for the property. + To be added. + + + Gets or sets a value that tells whether separators are visible between items. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + The cell to set up. + The index of the cell in the list of items. + Application developers override this method to register event handlers for list view items. + + Application developers must call before performing any other action when overriding this method. + Application developers who override this method to allocate resources must override in order to deallocate them. + + + + To be added. + Application developers override this method to unregister event handlers for list view items that they registered in . + + Application developers must call before performing any other action when overriding this method. + Application developers who override to allocate resources must override this method in order to deallocate them. + + + + To be added. + Raises the event for . + To be added. + + + To be added. + Raises the event for . + To be added. + + + To be added. + Internal. + To be added. + + + To be added. + Internal. + To be added. + + + This method is for internal use by platform renderers. + To be added. + To be added. + + + To be added. + This method is for internal use by platform renderers. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + To be added. + This method is for internal use by platform renderers. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + To be added. + To be added. + This method is for internal use by platform renderers. + To be added. + + + To be added. + To be added. + To be added. + This method is for internal use by platform renderers. + To be added. + + + Internal. + To be added. + To be added. + + + To be added. + This method is for internal use by platform renderers. + To be added. + + + To be added. + This method is for internal use by platform renderers. + To be added. + + + This method is for internal use by platform renderers. + To be added. + + + Enumerates caching strategies for a ListView. + + Application developers can specify one of these values when constructing a to determine whether the List View will minimize their memory footprint and speed execution by recycling list cells, or will instead generate a cell for every item in the list. Currently, the default behavior is to retain item data in their generated cells when they are not needed. (Items are not needed, for example, when they are far enough off screen that their display is not imminent.) This behavior corresponds to a value of . For performance reasons, it is likely that the default behavior will be changed to in a future release. In the meantime, for memory and performance reasons, app developers should specify when constructing a new List View. + The performance advantage of is so great that application developers have been provided with a XAML syntax shortcut for initializing List Views. Instead of x:TypeArguments syntax that specifies a parameter for the constructor, XAML for Xamarin.Forms provides a XAML attribute for a non-existent property that corresponds to the caching strategy argument of the constructor. Application developers can set the CachingStrategy attribute to either of the RecycleElement (preferred) or RetainElement values to choose a caching strategy. For example: + + + + + + + + +]]> + + When devolopers specify , OnElementChanged events are not raised when cells are recycled. Instead, the cell is retained and its property values change when the binding context is updated to that of an available cell, OnElementPropertyChanged events are raised. Application developers should remember to listen for the correct events, and should note that their renderers will need to be updated if the default behavior changes to in a future release. + + + + + Indicates that unneeded cells will have their binding contexts updated to that of a cell that is needed. + + + Indicates that for every item in the List View's property, a single unique element will be constructed from the DataTemplate. + + + Enumerates values that control how detail content is displayed in a master-detail page. + To be added. + + + Details are displayed in the default way for the platform. + + + Details pop over the page. + + + Details are always displayed in a split screen. + + + Details are displayed in a split screen when the device is in landscape orientation. + + + Details are displayed in a split screen when the device is in portrait orientation. + + + A that manages two panes of information: A master page that presents data at a high level, and a detail page that displays low-level details about information in the master. + + The following example code, taken from the FormsGallery sample application, creates a that allows the user to view detailed information about a color that she chooses from a list. Note that the NamedColorPage class, defined in as a sublcass of in another file in the sample application, simply displays RGB data, a with its background color set to the color that the user selected, and, finally, hue, saturation, and luminosity data. + The sample below illustrates three key concepts. First, the "Master" portion of the MasterDetailPage is represented by the property, which is set to a element in this example. This element contains a label and a list of colors. Second, the "Detail" portion of the is represented by the property, which, in this example, is set to the NamedColorPage that was noted above. Third, and finally, the page that is represented by the property is displayed by setting the property to ; That is, the property controls whether or not the page that is represented by the is presented to the user. + The page must have its property set. Additionally, the page will only display a navigation bar if it is an instance of . + + + { + this.IsPresented = true; + })); + } + + // Define a selected handler for the ListView. + listView.ItemSelected += (sender, args) => + { + // Set the BindingContext of the detail page. + this.Detail.BindingContext = args.SelectedItem; + + // Show the detail page. + this.IsPresented = false; + }; + + // Initialize the ListView selection. + listView.SelectedItem = namedColors[0]; + + + } + } +} + ]]> + + + The Windows Phone and Android platforms do not support sliding the detail screen in order to show or hide it. Application developers can use a to provide the user an additional way to show and hide the Detail screen on these platforms. On Windows Phone, developers could consider using a user interface class that provides an experience that is more consistent with that platform, such as . + + + + + Creates a new empty . + To be added. + + + Gets or sets the detail page that is used to display details about items on the master page. + To be added. + To be added. + + + Gets or sets a value that turns on or off the gesture to reveal the master page. This is a bindable property. + + if gesture is enabled; otherwise . Default is . + Has no effect on Windows Phone. + + + Backing store for the IsGestureEnabled bindable property. + + + + Gets or sets a value that indicates whether or not the visual element that is represented by the property is presented to the user. + To be added. + Setting this property causes the event to be raised. + + + Event that is raised when the visual element that is represented by the property is presented or hidden. + To be added. + + + Backing store for the property. + To be added. + + + To be added. + To be added. + To be added. + To be added. + Lays out the master and detail pages. + To be added. + + + Gets or sets the master page. + To be added. + To be added. + + + Gets or sets a value that indicates how detail content is displayed. + To be added. + To be added. + + + Backing store for the MasterBehavior property. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Event that is raised when a detail appears. + To be added. + + + Event that is raised when the back button is pressed. + To be added. + To be added. + + + Event that is raised when a detail disappears. + To be added. + + + Method that is called when the property of this is set. + To be added. + + + Returns a value that tells whether the list view should display a toolbar button. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + Internal. + To be added. + + + Enumerates values that tell whether margins are included when laying out windows. + To be added. + + + Include margins in a layout measurement. + + + Do not include margins in a layout measurement. + + + Class that presents a menu item and associates it with a command. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Command + + A binding to a command. + + + + CommandParameter + + A parameter to pass to the command. + + + + + IsDestructive + + + true or false, to indicate whether the command deletes an item in a list. + + + + Text + + The text to display on the menu item. + + + + + + + Intitializes a new instance. + To be added. + + + Event that is raised when the menu item is clicked. + To be added. + + + Gets or sets the command that is run when the menu is clicked. + To be added. + To be added. + + + Gets or sets the parameter that is passed to the command. + To be added. + To be added. + + + Identifies the command parameter bound property. + To be added. + + + Identifies the command bound property. + To be added. + + + Gets or sets the icon for the menu item. + To be added. + To be added. + + + Identfies the icon bound property. + To be added. + + + Gets or sets a value that indicates whether or not the menu item removes its associated UI element. + To be added. + To be added. + + + Identifies the IsDestructive bound property. + To be added. + + + When overriden by an app dev, implements behavior when the menu item is clicked. + To be added. + + + The text of the menu item. + To be added. + To be added. + + + Identifies the text bound property. + To be added. + + + This method is for internal use by platform renderers. + To be added. + + + Internal. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + Associates a callback on subscribers with a specific message name. + + The following shows a simple example of a strongly-typed callback using is: + + (subscriber, "IntPropertyMessage", (s, e) => { + subscriber.IntProperty = e; +}); + +//...later... + +MessagingCenter.Send(this, "IntPropertyMessage", 2); +Assert.AreEqual(2, subscriber.IntProperty); + ]]> + + + + + To be added. + To be added. + To be added. + Sends a named message that has no arguments. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + Sends a named message with the specified arguments. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + Run the on in response to messages that are named and that are created by . + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + Run the on in response to parameterized messages that are named and that are created by . + To be added. + + + To be added. + To be added. + To be added. + Unsubscribes a subscriber from the specified messages that come from the specified sender. + To be added. + + + To be added. + To be added. + To be added. + To be added. + Unsubscribes from the specified parameterless subscriber messages. + To be added. + + + Base class for , , , and . + To be added. + + + To be added. + Creates a new object for a navigation event that happened to the page. + To be added. + + + Gets or sets the page whose navigation triggered the event. + To be added. + To be added. + + + Arguments for the event that is raised when a modal window is popped from the navigation stack. + To be added. + + + To be added. + Constructs a new object for the page that was just popped. + To be added. + + + Arguments for the event that is raised when a modal window is popping from the navigation stack. + To be added. + + + To be added. + Constructs a new object for the page that is being popped. + To be added. + + + Gets or sets a value that tells whether the modal navigation was canceled. + To be added. + To be added. + + + Arguments for the event that is raised when a modal window is pushed onto the navigation stack. + To be added. + + + To be added. + Constructs a new object for the page that was just popped. + To be added. + + + Arguments for the event that is raised when a modal window is being pushed onto the navigation stack. + To be added. + + + To be added. + Constructs a new object for the page that is being pushed. + To be added. + + + The particular subclass of that the MultiPage services. + A bindable, templatable base class for pages which contain multiple sub-pages. + + Provides a base implementation for binding and templating pages. + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + ItemsSource + + A static collection of data objects. + + + + ItemTemplate + + A view that has bindings to properties on the members of the collection that is specified by ItemsSource. + + + + + + + Provides the base initialization for objects derived from the MultiPage<T> class. + + provides two classes that are derived from , and . + + + + Gets an IList<Page> of child elements of the MultiPage. + A IList<Page>. The default is an empty list. + + + The collection of a contains all the children added through the public add/remove interface. Internal children will not be exposed through this collection. + + + The following shows the creation of a , which descends from . + + + + + + + + The object which the default page should be templated from. + Create default provides a default method of creating new pages from objects in a binding scenario. + The newly created page. + Most implementors will not need to use or override CreateDefault. + + + Gets or sets the currently selected page. + The current page. The default value is null. + The default page will usually get set when the multi-page is displayed or templated. + + + Raised when the property changes. + + + + The source for the items to be displayed. + To be added. + To be added. + + + Identifies the property. + To be added. + + + The template for displaying items. + To be added. + To be added. + + + Identifies the bindable property. + + + + Event that is raised when the back button is pressed. + To be added. + To be added. + + + The child that was added. + Called when a child has been added to the . + + + + Raises the event. + + + + To be added. + Called when the pages of the have been changed. + To be added. + + + The name of the property that was changed. + Called when a bindable property has changed. + + + + Raised when the children pages of the have changed. + To be added. + + + The currently selected item. + The selected item from the or if nothing selected. + + + + Identifies the bindable property. + + + + To be added. + To be added. + When overriden in a derived class, performs initialization of . + To be added. + + + To be added. + Application developers override this method to unregister event handlers for items that they registered in . + + Application developers must call before performing any other action when overriding this method. + Application developers who override to allocate resources must override this method in order to deallocate them. + + + + To be added. + Sets the page that is specified by as the default page. + To be added. + To be added. + + + To be added. + To be added. + Performs initialization of . + To be added. + + + To be added. + Internal use only. + To be added. + + + Class that represents a list of property and binding conditions, and a list of setters that are applied when all of the conditions in the list are met. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Conditions + + A list of PropertyCondition and/or BindingCondition markup instances that specify the conditions that all must be met before all of the setters that are listed in Setters are applied. + + + + Setters + + A list of setters that are applied when all of the property conditions are met. Each Setter tag or tag pair in the list has a Property and Value that represents the assignments to perform when the condition is met. + + + + + + + To be added. + Initializes a new instance. + To be added. + + + Gets the list of conditions that must be satisfied in ordeer for the setters in the list to be invoked. + To be added. + To be added. + + + Gets the list of objects that will be applied when the list of conditions in the property are all met. + To be added. + To be added. + + + Represents pre-defined font sizes. + The exact pixel-value depends on the platform on which Forms runs. + + + The default font size. + + + A Large font size, for titles or other important text elements. + + + A default font size, to be used in stand alone labels or buttons. + + + The smallest readable font size for the device. Think about this like legal footnotes. + + + A small but readable font size. Use this for block of text. + + + Extension methods for and that add strongly-typed FindByName methods. + To be added. + + + To be added. + To be added. + To be added. + Returns the instance of type that has name in the scope that includes . + To be added. + To be added. + + + EventArgs for the NavigationPage's navigation events. + + + + + + + The page that was popped or is newly visible. + + + + + Gets the page that was removed or is newly visible. + + + For , this is the that was removed. For + and it is the newly visible page, the pushed page or the root respectively. + + + + For internal use only. + To be added. + + + For internal use only. + To be added. + + + To be added. + For internal use only. + To be added. + + + To be added. + For internal use only. + To be added. + + + For internal use only. + To be added. + To be added. + + + A that manages the navigation and user-experience of a stack of other pages. + + Note that on the Android platform, operations do not generate activity lifecycle notifications. For each that you push or pop, the Android implementation of simply adds or removes the content of the page to or from a single activity. + Also note that the Windows Phone platform provides navigation natively. Therefore, you do not need to use a object to get navigation on that platform. + + + + Initializes a new object. + To be added. + + + To be added. + Creates a new element with as its root element. + To be added. + + + Identifies the property associated with the title of the back button. + To be added. + + + Gets or sets the background color for the bar at the top of the NavigationPage. + + + + + Identifies the property associated with the color of the NavigationPage's bar background color. + To be added. + + + Gets or sets the text that appears on the bar at the top of the NavigationPage. + + + + + Identifies the property associated with the color of the NavigationPage's bar text color. + To be added. + + + The that is currently top-most on the navigation stack. + To be added. + To be added. + + + Identifies the property. + + + + The whose back-button's title is being requested. + The title of the back button for the specified . + The title of the back button that would be shown if the specified were the . + To be added. + + + To be added. + Returns a value that indicates whether has a back button. + To be added. + To be added. + + + The being queried. + Returns a value that indicates whether the has a navigation bar. + + if would display a navigation bar were it the . + To be added. + + + The whose title icon is being set. + Retrieves the path to the file providing the title icon for the . + The path to the file providing the title icon for the . + To be added. + + + Backing store for the HasBackButton property. + To be added. + + + Backing store for the HasNavigationBar property. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Event that is raised when the hardware back button is pressed. This event is not raised on iOS. + To be added. + To be added. + + + Asynchronously removes the top from the navigation stack. + The that had been at the top of the navigation stack. + To be added. + + + To be added. + Asynchronously removes the top from the navigation stack, with optional animation. + To be added. + To be added. + + + Event that is raised after a page is popped from this element. + To be added. + + + Event that is raised when the last nonroot element is popped from this element. + The can be cast to for + access to additional properties. For example, the list of popped pages. + + + + Pops all but the root off the navigation stack. + A task that represents the asynchronous dismiss operation. + To be added. + + + To be added. + A task for asynchronously popping all pages off of the navigation stack. + To be added. + To be added. + + + The to present modally. + Presents a modally. + An awaitable Task, indicating the PushModal completion. + To be added. + + + To be added. + To be added. + A task for asynchronously pushing a page onto the navigation stack, with optional animation. + To be added. + To be added. + + + Event that is raised when a page is pushed onto this element. + To be added. + + + To be added. + To be added. + Sets the title that appears on the back button for . + To be added. + + + To be added. + To be added. + Adds or removes a back button to , with optional animation. + To be added. + + + To be added. + To be added. + Sets a value that indicates whether or not this element has a navigation bar. + To be added. + + + The whose title icon is being set. + The FileImageSource of the icon. + Sets the title icon of the to the icon file at . + + + + + + + + + + + The color to be used as the Tint of the . + To be added. + + Tint is especially important in iOS 7 and later, where the Tint is primary way to specify which controls on screen are active or have an action associated with them. + + + + Identifies the bindable property. + To be added. + + + Indicates the / property. + To be added. + + + To be added. + To be added. + This method is for internal use by platform renderers. + To be added. + To be added. + + + Internal + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + To be added. + To be added. + + + To be added. + To be added. + + + To be added. + To be added. + To be added. + + + To be added. + To be added. + To be added. + + + To be added. + Provides idiom-specific implementation of for the current target idiom. + + + + Initializes a new instance of OnIdiom + + + + Gets or sets the value applied on desktop systems. + To be added. + To be added. + + + To be added. + Implicitly converts OnIdiom to T, depending on Device.Idiom. + The value of the Phone or Tablet property, depending on the current Device.Idiom. + + + + Gets or sets the value applied on Phone-like devices. + A T. + + + + Gets or sets the value applied on Tablet-like devices. + A T. + + + + To be added. + Provides the platform-specific implementation of T for the current . + To be added. + + + Creates a new instance of the type. + To be added. + + + The type as it is implemented on the Android platform. + To be added. + To be added. + + + The type as it is implemented on the iOS platform. + To be added. + To be added. + + + To be added. + Casts the type to the version that corresponds to the platform. + To be added. + To be added. + + + To be added. + To be added. + To be added. + + + The type as it is implemented on the WinPhone platform. + To be added. + To be added. + + + A that displays OpenGL content. + + + s are easiest to program using Shared Projects, in which case the reference to OpenTK is straightforward. The following example shows a simple OpenGL app with a render loop: + + { + + GL.ClearColor (red, green, blue, 1.0f); + GL.Clear ((ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit)); + + red += 0.01f; + if (red >= 1.0f) + red -= 1.0f; + green += 0.02f; + if (green >= 1.0f) + green -= 1.0f; + blue += 0.03f; + if (blue >= 1.0f) + blue -= 1.0f; + }; + + toggle.Toggled += (s, a) => { + view.HasRenderLoop = toggle.IsToggled; + }; + button.Clicked += (s, a) => view.Display (); + + var stack = new StackLayout { + Padding = new Size (20, 20), + Children = {view, toggle, button} + }; + + Content = stack; + } + } +} + + ]]> + + + + + + + + Creates a new object with default values. + To be added. + + + Called prior to rendering. + To be added. + + + Whether this has a custom rendering loop. + To be added. + To be added. + + + Identifies the bindable property. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Overridden to create a custom rendering loop. + To be added. + + When overridden, creates a custom renderer: + + { + + GL.ClearColor (red, green, blue, 1.0f); + GL.Clear ((ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit)); + + red += 0.01f; + if (red >= 1.0f) + red -= 1.0f; + green += 0.02f; + if (green >= 1.0f) + green -= 1.0f; + blue += 0.03f; + if (blue >= 1.0f) + blue -= 1.0f; + }; + ]]> + + + + + A that occupies the entire screen. + + + is primarily a base class for more useful derived types. Objects that are derived from the see class are most prominently used as the top level UI element in Xamarin.Forms applications. Typically, application developers will provide such an object to the target platforms by returning it from a static method that the developer created in a project that references . The contents of a typical App.cs file that would appear in a project that reference are shown below: + + + + While a object was returned in the example above, note that any class that extends could have been passed, instead. For example, by using conditional compilation or by checking the platform, the developr can pass a to Windows Phone applications, in order to better match the style of the user interface on that platform, while passing objects or other Page types to the other platforms. + The other projects in the solution that target the Windows Phone, iOS, and Android platforms can call the GetMainPage method to obtain the descendant that describes the portable user interface. This object can then be used with platform-specific static methods or extension methods to incorporate it into the native UI for each platform. + In each platform-specific project, Application developers must call the Xamarin.Forms.Forms.Init() method, with platform-specific parameters, before they get or create any elements. + Each targeted platform uses the returned page in a different way. The Xamarin.Forms.Platform.iOS library provides Xamarin.Forms.Page.CreateViewController() extension method, which returns a UIViewController that application developers can assign to the UIWindow.RootViewController property of the top-level UI. This code is typically placed inside the UIApplicationDelegate.FinishedLaunching override for the main application class. A typical example is shown below: + + +using System; +using Xamarin.Forms; + +namespace MyFirstFormsApp.iOS +{ + [Register("AppDelegate")] + public partial class AppDelegate : UIApplicationDelegate + { + UIWindow window; + + public override bool FinishedLaunching(UIApplication app, + NSDictionary options) + { + Forms.Init(); + + window = new UIWindow(UIScreen.MainScreen.Bounds); + + window.RootViewController = App.GetMainPage().CreateViewController(); + window.MakeKeyAndVisible(); + + return true; + } + } +} + + + + The Xamarin.Forms.Platform.Android.AndroidActivity class provides the Xamarin.Forms.Platform.Android.AndroidActivity.SetPage method, which performs the work that is necessary to make its page argument the top-level UI element of the Xamarin.Forms.Platform.Android.AndroidActivity. A typical example is shown below: + + +using System; +using Android.App; +using Android.OS; +using Xamarin.Forms.Platform.Android; + + +namespace MyFirstFormsApp.Android +{ + [Activity(Label = "MyFirstFormsApp", MainLauncher = true)] + public class MainActivity : AndroidActivity + { + protected override void OnCreate(Bundle bundle) + { + base.OnCreate(bundle); + + Xamarin.Forms.Forms.Init(this, bundle); + + SetPage(App.GetMainPage()); + } + } +} + + + For Windows Phone, provides an extension method for that is called . This method returns a System.Windows.UIElement object that has the page that was passed to it as its current page. A typical example is shown below: + + +using System; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Navigation; +using Microsoft.Phone.Controls; +using Microsoft.Phone.Shell; + +using Xamarin.Forms; + + +namespace MyFirstFormsApp.WinPhone +{ + public partial class MainPage : PhoneApplicationPage + { + public MainPage() + { + InitializeComponent(); + + Forms.Init(); + Content = Phoneword.App.GetMainPage().ConvertPageToUIElement(this); + } + } +} + + In addition to their role as the main pages of applications, objects and their descendants can be used with navigation classes, such as or , among others, to provide rich user experiences that conform to the expected behaviors on each platform. + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + BackgroundImage + + A local file specification that identifies an image. + + + + Icon + + A local file specification that identifies an image. + + + + Padding + + A comma-separated list of 4 integers that represent a structure. + + + + Title + + Text that represents the title of the page. + + + + ToolbarItems + + A list of ToolBarItem elements. + + + + + + + Creates a new element with default values. + To be added. + + + This method is for internal use. + To be added. + + + This method is for internal use . + To be added. + + + Indicates that the is about to appear. + To be added. + + + Identifies the image used as a background for the . + To be added. + To be added. + + + Identifies the property. + To be added. + + + This method is for internal use. + To be added. + + + Indicates that the is about to cease displaying. + To be added. + + + Title of the displayed action sheet. Must not be . + Text to be displayed in the 'Cancel' button. Can be to hide the cancel action. + Text to be displayed in the 'Destruct' button. Can be to hide the destructive option. + Text labels for additional buttons. Must not be . + Displays a native platform action sheet, allowing the application user to choose from several buttons. + An awaitable Task that displays an action sheet and returns the Text of the button pressed by the user. + + Developers should be aware that Windows' line endings, CR-LF, only work on Windows systems, and are incompatible with iOS and Android. A particular consequence of this is that characters that appear after a CR-LF, (For example, in the title.) may not be displayed on non-Windows platforms. Developers must use the correct line endings for each of the targeted systems. + + + + The title of the alert dialog. + The body text of the alert dialog. + Text to be displayed on the 'Cancel' button. + Presents an alert dialog to the application user with a single cancel button. + To be added. + To be added. + + + The title of the alert dialog. + The body text of the alert dialog. + Text to be displayed on the 'Accept' button. + Text to be displayed on the 'Cancel' button. + Presents an alert dialog to the application user with an accept and a cancel button. + To be added. + To be added. + + + Forces the to perform a layout pass. + To be added. + + + Resource identifier for the 's associated icon. + To be added. + To be added. + + + Identifies the property. + To be added. + + + Marks the Page as busy. This will cause the platform specific global activity indicator to show a busy state. + A bool indicating if the Page is busy or not. + Setting IsBusy to true on multiple pages at once will cause the global activity indicator to run until both are set back to false. It is the authors job to unset the IsBusy flag before cleaning up a Page. + + + Identifies the property. + To be added. + + + Raised when the layout of the has changed. + To be added. + + + Left-hand side of layout area. + Top of layout area. + Width of layout area. + Height of layout area. + Lays out children s into the specified area. + To be added. + + + To be added. + TReturns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + When overridden, allows application developers to customize behavior immediately prior to the becoming visible. + To be added. + + + Application developers can override this method to provide behavior when the back button is pressed. + To be added. + To be added. + + + + Invoked whenever the binding context of the changes. Override this method to add class handling for this event. + + + Overriders must call the base method. + + + + To be added. + To be added. + Indicates that the preferred size of a child has changed. + To be added. + + + When overridden, allows the application developer to customize behavior as the disappears. + To be added. + + + Called when the 's property has changed. + To be added. + + + The width allocated to the . + The height allocated to the . + Indicates that the has been assigned a size. + To be added. + + + The space between the content of the and it's border. + To be added. + To be added. + + + Identifies the property. + To be added. + + + Calls . + To be added. + To be added. + + + The 's title. + To be added. + To be added. + + + Identifies the property. + To be added. + + + A set of s, implemented in a platform-specific manner. + To be added. + To be added. + + + Requests that the children s of the update their layouts. + To be added. + + + Internal. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + This method is for internal use by platform renderers. + To be added. + + + This method is for internal use by platform renderers. + To be added. + + + A gesture recognizer for panning content that is larger than its parent view. + To be added. + + + Creates a new with default values. + To be added. + + + Event that is raised when the pan gesture changes. + To be added. + + + Gets or sets the number of touch points in the gesture. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Event that is raised when a pan gesture updates. + To be added. + + + Whether the gesture just began, is continuing, was completed, or is canceled. + An identifier for the gesture. + Creates a new with the specified values. + To be added. + + + Whether the gesture just began, is continuing, was completed, or is canceled. + An identifier for the gesture. + The total change in the X direction since the beginning of the gesture. + The total change in the Y direction since the beginning of the gesture. + Creates a new with the specified values. + To be added. + + + Gets the identifier for the gesture that raised the event. + To be added. + To be added. + + + Gets a value that tells if this event is for a newly started gesture, a running gesture, a completed gesture, or a canceled gesture. + To be added. + To be added. + + + Gets the total change in the X direction since the beginning of the gesture.. + To be added. + To be added. + + + Gets the total change in the Y direction since the beginning of the gesture.. + To be added. + To be added. + + + A control for picking an element in a list. + + The visual representation of a Picker is similar to a , but a picker control appears in place of a keyboard. + The following example shows the creation of a Picker. + + nameToColor = new Dictionary + { + { "Aqua", Color.Aqua }, { "Black", Color.Black }, + { "Blue", Color.Blue }, { "Fucshia", Color.Fucshia }, + { "Gray", Color.Gray }, { "Green", Color.Green }, + { "Lime", Color.Lime }, { "Maroon", Color.Maroon }, + { "Navy", Color.Navy }, { "Olive", Color.Olive }, + { "Purple", Color.Purple }, { "Red", Color.Red }, + { "Silver", Color.Silver }, { "Teal", Color.Teal }, + { "White", Color.White }, { "Yellow", Color.Yellow } + }; + + public PickerDemoPage() + { + Label header = new Label + { + Text = "Picker", + FontSize = Device.GetNamedSize (NamedSize.Large, typeof(Label)), + HorizontalOptions = LayoutOptions.Center + }; + + Picker picker = new Picker + { + Title = "Color", + VerticalOptions = LayoutOptions.CenterAndExpand + }; + + foreach (string colorName in nameToColor.Keys) + { + picker.Items.Add(colorName); + } + + // Create BoxView for displaying picked Color + BoxView boxView = new BoxView + { + WidthRequest = 150, + HeightRequest = 150, + HorizontalOptions = LayoutOptions.Center, + VerticalOptions = LayoutOptions.CenterAndExpand + }; + + picker.SelectedIndexChanged += (sender, args) => + { + if (picker.SelectedIndex == -1) + { + boxView.Color = Color.Default; + } + else + { + string colorName = picker.Items[picker.SelectedIndex]; + boxView.Color = nameToColor[colorName]; + } + }; + + // Accomodate iPhone status bar. + this.Padding = new Thickness(10, Device.OnPlatform(20, 0, 0), 10, 5); + + // Build the page. + this.Content = new StackLayout + { + Children = + { + header, + picker, + boxView + } + }; + + } + } +} +]]> + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Items + + A list of items with which to populate the picker. + + + + SelectedIndex + + An integer from 0 to 1 less than the count of items that are listed in Items. This element must be specified in a tag that appears lexically after Items. + + + + Title + + Text that represents the title of the picker. + + + + + + + + + + Initializes a new instance of the Picker class. + + + + Gets or sets a binding that selects the property that will be displayed for each object in the list of items. + To be added. + To be added. + + + Gets the list of choices. + An IList<string> representing the Picker choices. + This property is read-only, but exposes the IList<> interface, so items can be added using Add(). + + + Gets or sets the source list of items to template and display. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the index of the selected item of the picker. This is a bindable property. + An 0-based index representing the selected item in the list. Default is -1. + A value of -1 represents no item selected. + + + Raised when the value of the SelectIndex property has changed. + To be added. + + + Identifies the SelectedIndex bindable property. + + + + Gets or sets the selected item. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets the text color. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets the title for the Picker. This is a bindable property. + A string. + Depending on the platform, the Title is shown as a placeholder, headline, or not showed at all. + + + Identifies the Title bindable property. + + + + Recognizer for pinch gestures. + To be added. + + + Constructs a new pinch gesture recognizer. + To be added. + + + Event that is raised when a pinch gesture updates. + To be added. + + + Event arguments for the event. + To be added. + + + To be added. + Constructs a new object with default values. + To be added. + + + Whether the gesture is starting, running, or has ended. + The current scale of the pinch gesture. + The updated origin of the pinch gesture. + Constructs a new object with the specified values. + + The origin of the pinch is the center of the pinch gesture, and changes if the user translates their pinch while they scale. Application developers may want to store the pinch origin when the gesture begins and use it for all scaling operations for that gesture. + + + + The relative size of the user's pinch gesture. + The distance between the user's digits, divided by the initial distance between the user's digits in the pinch gesture. + + The initial value of the property for each new pinch gesture is 1.0. + + + + The updated origin of the pinch gesture. + The midpoint of the pinch gesture. + + The origin of the pinch is the center of the pinch gesture, and changes if the user translates their pinch while they scale. Application developers may want to store the pinch origin when the gesture begins and use it for all scaling operations for that gesture. + + + + Whether the gesture started, is running, or has finished. + Whether the gesture started, is running, or has finished. + + The origin of the pinch, , is the center of the pinch gesture, and changes if the user translates their pinch while they scale. Application developers may want to store the pinch origin when the gesture begins and use it for all scaling operations for that gesture. + The initial value of the property for each new pinch gesture is 1.0. + + + + To be added. + To be added. + Base class for platform-specific effect classes. + + App developers derive from the + Xamarin.Forms.Platform.Android.PlatformEffect,Xamarin.Forms.Platform.iOS.PlatformEffect,Xamarin.Forms.Platform.UWP.PlatformEffectXamarin.Forms.Platform.WinPhone.PlatformEffect, orXamarin.Forms.Platform.WinRT.PlatformEffect, + classes to implement effects on the respective platforms. + + + + Creates a new platform-specific effect with default values. + To be added. + + + Returns the container for the platform-specific effect. + To be added. + To be added. + + + Returns the control for the platform-specific effect. + To be added. + To be added. + + + The arguments for the property changed event. + Method that is called when a element property has changed. + To be added. + + + Struct defining a 2-D point as a pair of doubles. + To be added. + + + + that specifies a that has the coordinates (, ). + Creates a new object that has coordinates that are specified by the width and height of , in that order. + To be added. + + + The horizontal coordinate. + The vertical coordinate. + Creates a new object that represents the point (,). + To be added. + + + The to which the distance is calculated. + Calculates the distance between two points. + The distance between this and the . + To be added. + + + Another . + Returns if the X and Y values of this are exactly equal to those in the argument. + + if the X and Y values are equal to those in . Returns if is not a . + + The and values of the are stored as s. Developers should be aware of the precision limits and issues that can arise when comparing floating-point values. In some circumstances, developers should consider the possibility of measuring approximate equality using the (considerably slower) method. + + + + Returns a hash value for the . + A value intended for efficient insertion and lookup in hashtable-based data structures. + To be added. + + + Whether both X and Y are 0. + + if both and are 0.0. + To be added. + + + The amount to add along the X axis. + The amount to add along the Y axis. + Returns a new that translates the current by and . + A new at [this.X + dx, this.Y + dy]. + To be added. + + + The to which is being added. + The values to add to . + Returns a new by adding a to a . + A new at [pt.X + sz.Width, pt.Y + sz.Height]. + To be added. + + + To be added. + To be added. + Whether the two s are equal. + + if the two s have equal values. + To be added. + + + The to be translated as a . + Returns a new whose and and equivalent to the 's and properties. + A new based on the . + To be added. + + + To be added. + To be added. + Whether two points are not equal. + + if and do not have equivalent X and Y values. + To be added. + + + The from which is to be subtracted. + The whose and will be subtracted from 's and . + Returns a new by subtracting a from a . + A new at [pt.X - sz.Width, pt.Y - sz.Height]. + To be added. + + + Returns a new whose and have been rounded to the nearest integral value. + A new whose and have been rounded to the nearest integral value, per the behavior of Math.Round(Double). + To be added. + + + A human-readable representation of the . + The string is formatted as "{{X={0} Y={1}}}". + To be added. + + + Location along the horizontal axis. + To be added. + To be added. + + + Location along the vertical axis. + To be added. + To be added. + + + The at {0,0}. + To be added. + + + A that converts from a string to a . + To be added. + + + Creates a new with default values. + To be added. + + + To be added. + Returns a Boolean value that indicates whether this can convert the to a instance. + To be added. + To be added. + + + To be added. + To be added. + Converts into a by using the specified . + To be added. + To be added. + + + To be added. + Returns a point for a valid point description. + To be added. + To be added. + + + EventArgs for the NavigationPage's PoppedToRoot navigation event. + + The passes as the + event argument. This class can be cast to to allow for access to the + PoppedPages collection that exposes the pages that was popped. + + + + + To be added. + To be added. + For internal use by platform renderers. + To be added. + + + Gets a collection of pages that was removed from the navigation stack. + + + For this represents the pages + that were popped. The order of the pages represents the order of the stack that was popped. The first page in the + collection is the page that was closest to the root page. + + + + + A control that displays progress. + + The following example shows the usage of a ProgressBar. + + + + + + + XAML for Xamarin.Forms supports the following property for the class: + + + Property + Value + + + Progress + + A decimal value between 0 and 1, inclusive, that specifies the fraction of the bar that is colored. + + + + + + + Initializes a new instance of the ProgressBar class + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the progress value. This is s bindable property. + Gets or sets a value that specifies the fraction of the bar that is colored. + Values less than 0 or larger than 1 will be clamped to the range [0-1]. + + + Identifies the Progress bindable property. + + + + To be added. + To be added. + To be added. + Animate the Progress property to value. + A Task<bool> you can await on. + + + + Event arguments for the delegate. + To be added. + + + To be added. + Creates a new object that indicates that is changing. + To be added. + + + Gets the name of the property that is changing. + The name of the property that is changing. + To be added. + + + To be added. + To be added. + Delegate for the event. + To be added. + + + Class that represents a value comparison with a property. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Property + + The name of the property to check. + + + + Value + + The value for which the condition is met. + + + + + + + Initializes a new instance. + To be added. + + + Gets or sets the property against which the property will be compared. + To be added. + To be added. + + + The binding value that satisfies the condition. + To be added. + To be added. + + + To be added. + Provides a value by using the supplied service provider. + To be added. + To be added. + + + Struct defining a rectangle, using doubles. + + Application developers should be aware of the limits of floating-point representations, specifically the possibility of incorrect comparisons and equality checks for values with small differences. David Goldberg's paper What Every Computer Scientist Should Know About Floating-Point Arithmetic describes the issues excellently. + Where Xamarin.Forms supports XAML for structures, app devs can represent the rectangle as a comma-separated list of the X-coordinate, Y-Coordinate, Width, and Height. + + + + To be added. + To be added. + Creates a new object with its top left corner at with a height and width that are specified by . + To be added. + + + To be added. + To be added. + To be added. + To be added. + Creates a new object with its top left corner at (, ) and wide and tall. + To be added. + + + The bottom of the . + To be added. + + Modifying this value also modifies the property. + + + + The halfway between and , and . + To be added. + To be added. + + + The being checked for containment. + Whether the is within, or along the periphery, of this . + + if is within, or along the periphery, of this. + To be added. + + + The being checked for containment. + Whether is entirely within, or along the periphery, of this . + + if the borders of are entirely within, or along the periphery, of this. + To be added. + + + The X location of the point being checked. + The Y location of the point being checked. + Whether the point described by and is within, or along the periphery of, this . + + if the point described by and is within, or along the periphery of, this. + To be added. + + + An Object to compare to this. + Whether an is a and has exactly the same values as this. + + if is a that has exactly the same values as this. + To be added. + + + The being compared to this. + Whether a has exactly the same values as this. + + if has exactly the same values as this. + To be added. + + + To be added. + To be added. + To be added. + To be added. + Factory method to create a from , , , and . + A new whose values are equal to the arguments. + To be added. + + + The hashcode for the . + A value optimized for fast insertion and retrieval in a hash-based data structure. + To be added. + + + Extent along the Y axis. + To be added. + + Modifying this value modifies the property.. + + + Values to inflate all the borders. + Creates a whose borders are inflated in every direction. + A new whose and are inflated by 's and whose and are inflated by 's . + + Application developers should note that since the inflation occurs in every direction, the returned is larger in each dimension by twice . + + + + + + + Value to shift to the left and to the right. + Value to shift upward and downward. + Creates a whose borders are inflated in every direction. + A new whose and are inflated by and whose and are inflated by . + + Application developers should note that since the inflation occurs in every direction, the returned is larger in X by twice and larger in Y by twice . + + + + + + + A this will be intersected with. + A new that is the intersection of this and . + Returns a new that is the intersection of this and , or if there is no intersection. + To be added. + + + A being intersected. + A being intersected. + A new that is the intersection of and . + Returns a new that is the intersection of and , or if there is no intersection. + To be added. + + + The being intersected. + Whether this intersects . + + if this intersects . + To be added. + + + Whether this has either or less than or equal to 0. + + if either or is less than or equal to 0. + To be added. + + + The position of the on the X axis. + To be added. + To be added. + + + The defined by and . + To be added. + To be added. + + + A whose X and Y values should be added to this's . + A new whose is offset by . + A new whose is equal to this's translated by . + To be added. + + + Change along the X axis. + Change along the Y axis. + A new whose is offset by and . + A new whose is equal to this's translated by and . + To be added. + + + A being compared. + A being compared. + Whether two s have equal values. + + if both the and of the two rectangles are equivalent. + To be added. + + + A being compared. + A being compared. + Whether two s have unequal values. + + if either the or of the two rectangles have differences. + To be added. + + + The furthest extent along the X axis. + To be added. + To be added. + + + Returns a new whose values have been rounded to their nearest integral value. + A new whose , , , and have been rounded to their nearest integral values. + + The rounding is applied to each property independently. + + + + The extent of the along its X and Y axes. + To be added. + To be added. + + + The top of the . + To be added. + To be added. + + + A human-readable description of the . + The format is "{X={0} Y={1} Width={2} Height={3}}". + To be added. + + + The whose union is being calculated. + A new whose bounds cover the union of this and . + Returns a new whose bounds cover the union of this and . + To be added. + + + A whose union is being calculated. + A whose union is being calculated. + A new whose bounds cover the union of and . + Returns a new whose bounds cover the union of and . + To be added. + + + The extent of this along the X axis. + To be added. + To be added. + + + The position of this on the X axis. + To be added. + To be added. + + + The position of this on the Y axis. + To be added. + To be added. + + + The at {0,0} whose Size is {0,0}. + To be added. + + + A that converts a string to a . + To be added. + + + Creates a new with default values. + To be added. + + + To be added. + Returns a Boolean value that indicates whether this can convert the to a instance. + To be added. + To be added. + + + To be added. + To be added. + Converts into a by using the specified . + To be added. + To be added. + + + To be added. + Returns a for a comma-separated list of double values. + To be added. + To be added. + + + A that uses s to layout its children. + + The RelativeLayoutExample class in the following code extends the class by adding a that contains a heading and another label. Both labels are positioned relative to the : + + { + return 0; + })); + + relativeLayout.Children.Add (relativelyPositioned, + Constraint.RelativeToParent ((parent) => { + return parent.Width / 3; + }), + Constraint.RelativeToParent ((parent) => { + return parent.Height / 2; + })); + this.Content = relativeLayout; + } +} +]]> + + For a more complete example that exercises many more of the layout options for the class, see the FormsGallery sample that can be found on the Sample Applications page. + XAML for Xamarin.Forms supports the following attached properties for the class: + + + AttachedProperty + Value + + + XConstraint + + XAML markup extension for a constraint expression. See . + + + + YConstraint + + XAML markup extension for a constraint expression. See . + + + + WidthConstraint + + XAML markup extension for a constraint expression. See . + + + + HeightConstraint + + XAML markup extension for a constraint expression. See . + + + + + + + Creates a new with default values. + To be added. + + + Identifies the bindable property associated with /. + To be added. + + + List of s that are children of this . + To be added. + To be added. + + + The for which the bounds constraint is being requested. + Returns the bounds constraint of the . + The of the . + To be added. + + + The for which the height constraint is being requested. + Returns the height constraint of the . + The on the height of the . + To be added. + + + The for which the width constraint is being requested. + Returns the width constraint of the . + The on the width of the . + To be added. + + + The for which the X constraint is being requested. + Returns the X constraint of the . + The on the X position of the . + To be added. + + + The for which the Y constraint is being requested. + Returns the Y constraint of the . + The on the Y position of the . + To be added. + + + Identifies the bindable property associated with the / methods. + To be added. + + + The left-side bound of the rectangle into which the children will be laid out. + The top bound of the rectangle into which the children will be laid out. + The width of the rectangle into which the children will be laid out. + The height of the rectangle into which the children will be laid out. + Lays out the in the specified rectangle. + To be added. + + + The added to the . + Called when a is added to the collection. + To be added. + + + The removed from the collection. + Called when a is removed from the collection. + To be added. + + + To be added. + To be added. + Called when this has received a size request. + To be added. + To be added. + + + The to which the constraint will be applied. + The on the . + Sets as a constraint on the bounds of . + To be added. + + + Identifies the width constraint. + To be added. + + + Identifies the constraint on X. + To be added. + + + Identifies the constraint on Y. + To be added. + + + To be added. + An of s used by a . + To be added. + + + To be added. + To be added. + Constrains to and adds it to the layout. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + Constrains to the rectangle that is defined by , , , and , and adds it to the layout. + To be added. + + + To be added. + To be added. + To be added. + To be added. + To be added. + Constrains by , , , and , and adds it to the layout. + To be added. + + + Associate view with renderer. + Lazily assoicate a view with it's renderer. + + + The view to render. + The view to render. + The view to render. + + + The renderer for this view. + The renderer for this view. + The renderer for this view. + + + Attribute that identifies a group name, typically a company name or reversed company URL, that provides a scope for effect names. + + Developers must supply a name to that is unique over the scope of the that they supply to . The method takes a string that is the concatenation of (the resolution group name), '.', and the unique name that was supplied to , and returns the specified effect. + + For example, with the declarations: + + Then the code below will add the effect to a button: + + + + + + A name, such as a company name or reversed company URL, that helps to uniquely identify effects. + Creates a new resolution group name attribute. + + Developers must supply a name to that is unique over the scope of the that they supply to . The method takes a string that is the concatenation of (the resolution group name), '.', and the unique name that was supplied to , and returns the specified effect. + + For example, with the declarations: + + Then the code below will add the effect to a button: + + + + + + + An IDictionary that maps identifier strings to arbitrary resource objects. + To be added. + + + Creates a new empty object. + To be added. + + + To be added. + + Add an implicit Style to the ResourceDictionary. Implicit Styles are applied to all VisualElements matching TargetType in the descendants of this ResourceDictionary owner, unless a Style is explicitely applied to the Element. + + Implicit Styles are added to a ResourceDictionary in XAML by not specifying an x:Key for the Element. + + To be added. + + + The identifier to be used to retrieve the . + The associated with the . + Adds and to the as a key-value pair. + To be added. + + + Empties the . + To be added. + + + The identifier being searched for. + Whether the contains a key-value pair identified by . + To be added. + To be added. + + + The number of entries in the . + To be added. + To be added. + + + Returns a of the 's s. + To be added. + To be added. + + + The identifier of the desired object. + Retrieves the value associated with the key . + To be added. + To be added. + + + The collection of identifier s that are keys in the . + To be added. + To be added. + + + To be added. + To be added. + To be added. + + + The identifier of the key-value pair to be removed. + Removes the key and value identified by from the . + + if the key existed and the removal was successful. + To be added. + + + To be added. + Adds an item to the collection. + To be added. + + + To be added. + Returns a value that indicates whether the dictionary contains the value in , indexed by the key in . + To be added. + To be added. + + + To be added. + To be added. + Copies the values in the dictionary to , starting at position in . + To be added. + + + Gets a value that indicates whether the resource dictionary is read-only. + To be added. + To be added. + + + To be added. + Removes the value in , indexed by the key in , from the dictionary, if present. + To be added. + To be added. + + + Returns a of the 's s. + An of the 's s. + To be added. + + + The identifier of the object to be retrieved. + An reference to the object being retrieved, or it's default value. + Retrieves the object specified by or, if not present, the default value of . + The object specified by or, if not present, the default value of . + To be added. + + + Retrieves the values of the . + To be added. + To be added. + + + Platform-independent effect that wraps an inner effect, which is usually platform-specific. + To be added. + + + To be added. + Creates a new routing effect with the specified . + To be added. + + + Method that is called after the effect is attached and made valid. + To be added. + + + Method that is called after the effect is detached and invalidated. + To be added. + + + An that defines properties for a row in a . + + XAML for Xamarin.Forms supports the following property for the class: + + + Property + Value + + + Height + + "*" or "Auto" to indicate the corresponding enumeration values, or a number to indicate an absolute height. + + + + + App developers can specify values for the property in XAML. This is typically done inside tags for the collection property. The following example demonstrates setting three row heights to each of the three valid values: + + + + + +]]> + + + + + Creates a new object with default values. + To be added. + + + Gets or sets the height of the row. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Event that is raised when the size of the row is changed. + To be added. + + + A for s. + To be added. + + + Creates a new empty object. + To be added. + + + Arguments for the event that is raised when a window is scrolled. + To be added. + + + To be added. + To be added. + Constructs a new object for a scroll to and . + To be added. + + + The X position of the finished scroll. + To be added. + To be added. + + + The Y position of the finished scroll. + To be added. + To be added. + + + Enumeration specifying vertical or horizontal scrolling directions. + To be added. + + + Scroll both horizontally and vertically. + + + Scroll Horizontally. + + + Scroll vertically. + + + Enumerates values that describe how a scroll request is made. + To be added. + + + Scroll positions are specified by element. + + + Scroll positions are specified by a float. + + + Enumerates values that describe a scroll request. + To be added. + + + Scroll to the center of a list. + + + Scroll to the end of a list. + + + Scroll to make a specified list item visible. + + + Scroll to the start of a list. + + + Arguments for the event that is raised when a scroll is requested. + To be added. + + + An element to scroll to. + To be added. + To be added. + + + Whether to scroll by element or by position. + To be added. + To be added. + + + An enumeration value that describes which part of an element to scroll to. + To be added. + To be added. + + + The X position to scroll to. + To be added. + To be added. + + + The Y position to scroll to. + To be added. + To be added. + + + Gets a value that tells whether the scroll operation should be animated. + To be added. + To be added. + + + This method is for internal use by platform renderers. + To be added. + To be added. + + + Internal. + To be added. + To be added. + + + An element capable of scrolling if its Content requires. + + The following example shows the creation of a ScrollView with a large in it. + + + + Application developers should not nest one within another. Additionally, they should refrain from nesting them other elements that can scroll, such as . + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Content + + Markup that specifies a to display in the . + + + + Orientation + + + Horizontal or Vertical, to indicate the scroll direction. + + + + + + + Initializes a new instance of the ScrollView class. + + + + Gets or sets a to display in the . + The that is displayed. + + + + Gets the size of the Content. This is a bindable property. + A that represents the size of the content. + + + + Identifies the ContentSize bindable property. + This bindable property is read-only. + + + A value that represents the x coordinate of the child region bounding box. + A value that represents the y coordinate of the child region bounding box. + A value that represents the y coordinate of the child region bounding box. + A value that represents the y coordinate of the child region bounding box. + Positions and sizes the content of a ScrollView. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + The available width for the element to use. + The available height for the element to use. + This method is called during the measure pass of a layout cycle to get the desired size of an element. + + A which contains the desired size of the element. + + The results of this method will be (-1, -1) if the element has not yet been realized with a platform specific backing control. Overriding this method does not require a call to the base class so long as a valid SizeRequest is returned. + + + Gets or sets the scrolling direction of the ScrollView. This is a bindable property. + + + + + Identifies the Orientation bindable property. + + + + Event that is raised after a scroll completes. + To be added. + + + To be added. + To be added. + To be added. + Returns a task that scrolls the scroll view to a position asynchronously. + To be added. + To be added. + + + To be added. + To be added. + To be added. + Returns a task that scrolls the scroll view to an element asynchronously. + To be added. + To be added. + + + Gets the current X scroll position. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Gets the current Y scroll position.. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + To be added. + To be added. + Internal. + To be added. + To be added. + + + Internal. + To be added. + + + To be added. + To be added. + Internal. + To be added. + + + A control that provides a search box. + + The following example shows a basic use. + + {resultsLabel.Text = "Result: " + searchBar.Text + " is what you asked for.";}) + }; + + MainPage = new ContentPage { + Content = new StackLayout { + VerticalOptions = LayoutOptions.Start, + Children = { + new Label { + HorizontalTextAlignment = TextAlignment.Center, + Text = "SearchBar", + FontSize = 50 + }, + searchBar, + new ScrollView + { + Content = resultsLabel, + VerticalOptions = LayoutOptions.FillAndExpand + } + }, + Padding = new Thickness(10, Device.OnPlatform(20, 0, 0), 10, 5) + } + }; + } + + // OnStart, OnSleep, and OnResume implementations, & etc. + +}]]> + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + CancelButtonColor + + A color specification, with or without the prefix, "Color". For example, "Color.Red" and "Red" both specify the color red. + + + + Placeholder + + The default text that will appear in the search bar when it is empty. + + + + SearchCommand + + XAML markup extension that describes a binding to a command. + + + + SearchCommandParameter + + The parameter for the search command. + + + + Text + + The initial text that will appear in the search bar. + + + + + + + Creates a new . + To be added. + + + Gets or sets the color of the cancel button. + To be added. + To be added. + + + Backing store for the CancelButtonColor property. + To be added. + + + Gets a value that indicates whether the font for the searchbar text is bold, italic, or neither. + To be added. + To be added. + + + Backing store for the FontAttributes property. + To be added. + + + Gets or sets the font family for the search bar text. + To be added. + To be added. + + + Backing store for the FontFamily property. + To be added. + + + Gets the size of the font for the text in the searchbar. + To be added. + To be added. + + + Backing store for the FontSize property. + To be added. + + + Gets or sets the horizontal text alignment. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the text that is displayed when the is empty. + The text that is displayed when the is empty. + To be added. + + + Gets or sets the color of the placheholder text. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Backing store for the property. + To be added. + + + Event that is raised when the user presses the Search button. + To be added. + + + Gets or sets the command that is run when the user presses Search button. + The command that is run when the user presses Search button. + To be added. + + + Gets or sets the parameter that is sent to the . + The parameter that is sent to the . + To be added. + + + Backing store for the property. + To be added. + + + Backing store for the property. + To be added. + + + Gets or sets the text that is displayed in the . + The text that is displayed in the . + To be added. + + + Event that is raised when the property is changed. For example, this event is raised as the user edits the text in the SearchBar. + To be added. + + + Gets or sets the text color. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + Backing store for the property. + To be added. + + + This method is for internal use. + To be added. + + + Event arguments for the event. + To be added. + + + To be added. + Creates a new event that indicates that the user has selected . + To be added. + + + Gets the new selected item. + To be added. + To be added. + + + Event arguments for positional scrolling events. + To be added. + + + To be added. + Creates a new with the specified new . + To be added. + + + Gets the newly selected position. + To be added. + To be added. + + + Enumerates values that control the visibility of list item separators. + To be added. + + + Use the default visibility for the platform. + + + Do not display separators. + + + Represents an assignment of a property to a value, typically in a style or in response to a trigger. + + Setters are used with triggers and styles. + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Property + + The name of the property to set. + + + + Value + + The value to apply to the property. + + + + + + + Creates a new object. + To be added. + + + The property on which to apply the assignment. + To be added. + + Only bindable properties can be set with a .. + + + The value to assign to the property. + To be added. + To be added. + + + To be added. + + + + To be added. + To be added. + + + Defines extensions methods for IList<Setter> + + + + + + To be added. + To be added. + To be added. + Add a Setter with a value to the IList<Setter> + To be added. + + + To be added. + To be added. + To be added. + Add a Setter with a Binding to the IList<Setter> + To be added. + + + To be added. + To be added. + To be added. + Add a Setter with a DynamicResource to the IList<Setter> + To be added. + + + Struct defining height and width as a pair of doubles. + + Application developers should be aware of the limits of floating-point representations, specifically the possibility of incorrect comparisons and equality checks for values with small differences. David Goldberg's paper What Every Computer Scientist Should Know About Floating-Point Arithmetic describes the issues excellently. + + + + To be added. + To be added. + Creates a new object with and . + To be added. + + + The object to which this is being compared. + Whether this is equivalent to . + + if is a whose values are identical to this's and . + To be added. + + + The to which this is being compared. + Whether this is equivalent to . + + if 's values are identical to this's and . + To be added. + + + Returns a hash value for the . + A value intended for efficient insertion and lookup in hashtable-based data structures. + To be added. + + + Magnitude along the vertical axis, in platform-specific units. + To be added. + To be added. + + + Whether the has and of 0.0. + + if both and are 0.0. + To be added. + + + A to be added. + A to be added. + Returns a new whose and are the sum of the component's height and width. + A whose is equal to s1.Width + s2.Width and whose is equal to sz1.Height + sz2.Height. + To be added. + + + A to be compared. + A to be compared. + Whether two s have equal values. + + if and have equal values for and . + + Application developers should be aware that and are stored internally as s. Values with small differences may compare incorrectly due to internal rounding limitations. + + + + The to be converted to a . + Returns a new based on a . + A whose and are equal to 's and , respectively. + To be added. + + + To be added. + To be added. + Whether two s have unequal values. + + if and have unequal values for either or . + + Application developers should be aware that and are stored internally as s. Values with small differences may compare incorrectly due to internal rounding limitations. + + + + A to be scaled. + A factor by which to multiple 's and values. + Scales both and . + A new whose and have been scaled by . + To be added. + + + A from whose values a size will be subtracted. + The to subtract from . + Returns a new whose and are 's height and width minus the values in . + A whose is equal to s1.Width - s2.Width and whose is equal to sz1.Height - sz2.Height. + To be added. + + + Returns a human-readable representation of the . + The format has the pattern "{Width={0} Height={1}}". + To be added. + + + Magnitude along the horizontal axis, in platform-defined units. + To be added. + To be added. + + + The whose values for height and width are 0.0. + To be added. + + + Struct that definse minimum and maximum s. + To be added. + + + To be added. + Creates a new object with default values. + To be added. + + + To be added. + To be added. + Creates a new object that requests at least the size , but preferably the size . + To be added. + + + The minimum acceptable size. + To be added. + To be added. + + + The requested size. + To be added. + To be added. + + + Returns a string representation of the size request. + To be added. + To be added. + + + A control that inputs a linear value. + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Maximum + + An integer or decimal literal. + + + + Minimum + + An integer or decimal literal. If this value is nonnegative, it must appear lexically below Maximum, so that validation can succeed. + + + + Value + + An integer or decimal literal that represents a number that is in the range[Minimum,Maximum]. + + + + + + + Initializes a new instance of the Slider class. + + The following example shows a basic use. + + + + + + + The minimum selectable value. + The maximum selectable value. + The actual value. + Initializes a new instance of the Slider class. + + + + Gets or sets the maximum selectable value for the Slider. This is a bindable property. + A double. + + + + Identifies the Maximum bindable property. + + + + Gets or sets the minimum selectable value for the Slider. This is a bindable property. + A double. + + + + Identifies the Minimum bindable property. + + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the current value. This is a bindable property. + A double. + + + + The ValueChanged event is fired when the Value property changes. + + + + Identifies the Value bindable property. + + + + Represents a part of a FormattedString. + To be added. + + + Initialize a new instance of the Span class. + To be added. + + + Gets or sets the Color of the span background. + To be added. + Not supported on WindowsPhone. + + + Gets or sets the Font for the text in the span. + To be added. + To be added. + + + Gets a value that indicates whether the font for the span is bold, italic, or neither. + To be added. + To be added. + + + Gets the font family to which the font for the text in the span belongs. + To be added. + To be added. + + + Gets the size of the font for the text in the span. + To be added. + To be added. + + + Gets or sets the Color for the text in the span. + To be added. + To be added. + + + Event that is raised when a property is changed. + To be added. + + + Gets or sets the text of the span. + To be added. + To be added. + + + A that positions child elements in a single line which can be oriented vertically or horizontally. + + Because layouts override the bounds on their child elements, application developers should not set bounds on them. + + The following example code, adapted from the FormsGallery example shows how to create a new with children that explore many of the layout behaviors of : + + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Orientation + + + Horizontal or Vertical. The default is Vertical. + + + + Spacing + + An integer or decimal. + + + + + + + Initializes a new instance of the StackLayout class. + + + The following example shows the initialization of a new StackLayout and setting its orientation and children. + + + + + + + + Invalidates the layout. + To be added. + + + A value representing the x coordinate of the child region bounding box. + A value representing the y coordinate of the child region bounding box. + A value representing the width of the child region bounding box. + A value representing the height of the child region bounding box. + Positions and sizes the children of a StackLayout. + Implementors wishing to change the default behavior of a StackLayout should override this method. It is suggested to still call the base method and modify its calculated results. + + + The available width for the StackLayout to use. + The available height for the StackLayout to use. + This method is called during the measure pass of a layout cycle to get the desired size of the StackLayout. + A which contains the desired size of the StackLayout. + The results of this method will be a sum of all the desired sizes of its children along the orientation axis, and the maximum along the non-orientation axis. + + + Gets or sets the value which indicates the direction which child elements are positioned. + A which indicates the direction children layouts flow. The default value is Vertical. + Setting the Orientation of a StackLayout triggers a layout cycle if the stack is already inside of a parent layout. To prevent wasted layout cycles, set the orientation prior to adding the StackLayout to a parent. + + + Identifies the Orientation bindable property. + + + + Gets or sets a value which indicates the amount of space between each child element. + A value in device pixels which indicates the amount of space between each element. The default value is 6.0. + + + Setting this value triggers a layout cycle if the StackLayout is already in a parent Layout. + + + The following example sets the Spacing on construction of a StackLayout. + + + + + + + + Identifies the Spacing bindable property. + + + + The orientations the a StackLayout can have. + + + + StackLayout should be horizontally oriented. + + + StackLayout should be vertically oriented. + + + A control that inputs a discrete value, constrained to a range. + + The following example shows a basic use. + + + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + Increment + + An integer or decimal literal. + + + + Maximum + + An integer or decimal literal. + + + + Minimum + + An integer or decimal literal. If this value is nonnegative, it must appear lexically below Maximum, so that validation can succeed. + + + + Value + + An integer or decimal literal that represents a number that is in the range [Minimum,Maximum]. + + + + ValueChanged + The name of an event handler. Note that this tag must appear below Value. + + + + + + Initializes a new instance of the Stepper class. + To be added. + + + The minimum selectable value. + The maximum selectable value. + The current selected value. + The increment by which Value is increased or decreased. + Initializes a new instance of the Stepper class. + To be added. + + + Gets or sets the increment by which Value is increased or decreased. This is a bindable property. + A double. + + + + Identifies the Increment bindable property. + To be added. + + + Gets or sets the maximum selectable value. This is a bindable property. + A double. + To be added. + + + Identifies the Maximum bindable property. + To be added. + + + Gets or sets the minimum selectabel value. This is a bindable property. + A double. + To be added. + + + Identifies the Minimum bindable property. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Gets or sets the current value. This is a bindable property. + A double. + To be added. + + + Raised when the property changes. + To be added. + + + Identifies the Value bindable property. + To be added. + + + + that loads an image from a . + To be added. + + + Creates a new object with default values. + To be added. + + + To be added. + Method that is called when the property that is specified by is changed.. + To be added. + + + Gets or sets the delegate responsible for returning a for the Image. + + + + + Backing store for the property. + To be added. + + + To be added. + This method is for internal use. + To be added. + To be added. + + + Class that contains triggers, setters, and behaviors that completely or partially define the appearance and behavior of a class of visual elements. + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + BasedOn + + A StaticResource markup extension that names the style on which this style is based. + + + + BaseResourceKey + + A resource dictionary key that names a dynamic base style. + + + + Behaviors + + Markup for the behaviors that are associated with the style. + + + + Setters + + A list of setters containing Property and Value elements or attributes. + + + + TargetType + + The name of the type that the style is intended for. + + + + Triggers + + A list of triggers. + + + + + + + To be added. + Intitializes a new instance. + To be added. + + + Gets or sets a Boolean value that controls whether the style should be applied to controls that are derived from the base type. + To be added. + To be added. + + + The on which this is based. + To be added. + The supports a mechanism in XAML that is similar to inheritance in C#. + + + Gets or sets the key that identifies the on which this is based. + To be added. + To be added. + + + Gets the list of objects that belong to this . + To be added. + To be added. + + + Gets or sets a Boolean value that controls whether the style should cascade to controls that are children (in the visual hierarchy) of the parent type. + To be added. + To be added. + + + Gets or sets the class for the style. + To be added. + To be added. + + + Gets the list of objects that belong to this . + To be added. + To be added. + + + Gets the type of object that this style can describe. See Remarks. + To be added. + +

Developers should be aware that implicit styles are only applied to the specific type that is described by , and not to types that inherit from it.

+
+
+ + Gets the list of objects that belong to this . + To be added. + To be added. + + + A control that provides a toggled value. + + The following example describes a basic use. + + + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + IsToggled + + + true or false, to indicate whether the switch has been toggled. + + + + Toggled + + The name of an event handler. Note that this tag must appear below IsToggled. + + + + + + + Creates a new element with default values. + To be added. + + + Gets or sets a Boolean value that indicates whether this element is toggled. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Event that is raised when this is toggled. + To be added. + + + A with a label and an on/off switch. + + The following example shows a basic use. + + + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + On + + + true or false, to indicate whether the switch cell is in the "on" position. + + + + OnChanged + + The name of an event handler. Note that this tag must appear below On. + + + + Text + + Text that represents the title of the switch cell. + + + + + + + Initializes a new instance of the SwitchCell class. + To be added. + + + Gets or sets the state of the switch. This is a bindable property. + Default is . + To be added. + + + Triggered when the switch has changed value. + To be added. + + + Identifies the bindable property. + To be added. + + + Gets or sets the text displayed next to the switch. This is a bindable property. + + To be added. + + + Identifies the Text bindable property. + To be added. + + + + that displays an array of tabs across the top of the screen, each of which loads content onto the screen. + + The user interface of a tabbed page consists of a list of tabs and a larger detail area. On iOS, the list of tabs appears at the bottom of the screen, and the detail area is above. On Android and Windows phones, the tabs appear across the top of the screen. The user can scroll the collection of tabs that are across the top of the screen if that collection is too large to fit on one screen. + App developers can create tabbed pages in either of two ways. First, application developers can assign a list of objects of a single class, or its subclasses, to the property and assign a to the property to return pages for objects of the least derived type. Second, app developers can add a succession of objects to the property. Both methods are shown in the code examples below. + + The following example code, adapted for brevity from the FormsGallery sample that can be found on the Sample Applications page, shows how to display data of a specific type by assigning a to the property. Note how NamedColorPage gets its color by binding its field. + { + return new NamedColorPage (); + }); + } + } + + // Data type: + class NamedColor + { + public NamedColor (string name, Color color) + { + this.Name = name; + this.Color = color; + } + + public string Name { private set; get; } + + public Color Color { private set; get; } + + public override string ToString () + { + return Name; + } + } + + // Format page + class NamedColorPage : ContentPage + { + public NamedColorPage () + { + // This binding is necessary to label the tabs in + // the TabbedPage. + this.SetBinding (ContentPage.TitleProperty, "Name"); + // BoxView to show the color. + BoxView boxView = new BoxView { + WidthRequest = 100, + HeightRequest = 100, + HorizontalOptions = LayoutOptions.Center + }; + boxView.SetBinding (BoxView.ColorProperty, "Color"); + + // Build the page + this.Content = boxView; + } + } +} + + +]]> + + + The example below creates a tabbed view with two instances. + + + + + + + + + Creates a new element with default values. + To be added. + + + To be added. + To be added. + To be added. + + + To be added. + To be added. + + + To be added. + To be added. + To be added. + + + To be added. + To be added. + + + An object for which to create a default page. + Creates a default page, suitable for display in this page, for an object. + A page that is titled with the string value of . + This returns a new object that has its property set to the value of when called on . + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Called when the parent is set. + This method iterates up the hierarchy and writes a message to the debug listeners if it detects a . Application developers are advised that adding a to a may produce undesirable results. + + + TableIntent provides hints to the renderer about how a table will be used. + Using table intents will not effect the behavior of a table, and will only modify their visual appearance on screen, depending on the platform. Not all intents are unique on all platforms, however it is advisable to pick the intent which most closely represents your use case. + + + A table intended to contain an arbitrary number of similar data entries. + + + A table which is used to contain information that would normally be contained in a form. + + + A table intended to be used as a menu for selections. + + + A table containing a set of switches, toggles, or other modifiable configuration settings. + + + A that contains either a table section or the entire table. + To be added. + + + Constructs and initializes a new instance of the class. + To be added. + + + The title of the table. + Constructs and initializes a new instance of the class with a title. + To be added. + + + A logical and visible section of a . + To be added. + + + Creates a new with default values. + To be added. + + + To be added. + Creates a new with the title . + To be added. + + + Abstract base class defining a table section. + + + + + XAML for Xamarin.Forms supports the following property for the class: + + + Property + Value + + + Title + + A title for the section. + + + + + + + Creates a new object with default values. + To be added. + + + To be added. + Creates a new object with the specified . + To be added. + + + Gets or sets the title. + To be added. + To be added. + + + Backing store for the property. + To be added. + + + To be added. + + Table section that contains instances of type T that are rendered by Xamarin.Forms. + + + Sections are used to group cells in the screen and they are the + only valid direct child of the . Sections can contain + any of the standard s, including new s. + + + s embedded in a section are used to navigate to a new + deeper level. + + + You can assign a header and a footer either as strings (Header and Footer) + properties, or as Views to be shown (HeaderView and FooterView). Internally + this uses the same storage, so you can only show one or the other. + + Subtypes of are and , as shown in the following diagram: + + + + + + + + Constructs a new instance with an empty title. + + To be added. + + + To be added. + + Constructs a new instance with the specified . + + To be added. + + + The items to add. + Adds a list of items to this object. + To be added. + + + The item to add. + Adds an item to this object. + To be added. + + + Removes all items in this . + To be added. + + + Event that is raised when one or more items is added to or removed from this object. + To be added. + + + The object for which to determine whether or not this object has a reference. + Returns a Boolean value that indicates whether or not this has a reference to a particular object. + + if this object contains a reference to . Otherwise, . + To be added. + + + To be added. + To be added. + Copies the elements of the current collection to an , starting at the specified index. + To be added. + + + Gets the number of items in this object. + The number of items in this object. + To be added. + + + Returns an enumerator that iterates through the items in this object. + To be added. + To be added. + + + The instance for which to find its index. + Returns the index of the first occurrence of in this object. + The index of the first occurrence of in this object. + To be added. + + + The position at which to insert . + The item to insert. + Inserts an item into this object at the specified position. + To be added. + + + The location of the item to return. + Returns the item that is stored at the location in this object that is specified by . + To be added. + To be added. + + + Calls the method, passing the new binding context, on each of the items in this object. + To be added. + + + To be added. + Removes a specified item from this object. + + , if item was removed from the current collection; if item was not found in the current collection.. + To be added. + + + The position in this object from which to remove an item. + Removes a specified item from this object at the position that is specified by . + To be added. + + + Returns ; The collection of objects in this can be changed. + + ; The collection of objects in this object can be changed. + To be added. + + + Returns an enumerator that iterates through the collection of objects in this object. + To be added. + To be added. + + + A that holds rows of elements. + + A has a as its property. The is a type of . + The following example shows a basic table with two sections. + + + + + + + XAML for Xamarin.Forms supports the following properties for the class: + + + Property + Value + + + HasUnevenRows + + + true or false, to indicate whether rows in the table view will specify their own height. + + + + Intent + + + Data, Form, Menu, or Settings. + + + + RowHeight + + + Horizontal or Vertical, to indicate the scroll direction. + + + + + + + Initializes a new instance. + To be added. + + + To be added. + Initializes a new instance. + To be added. + + + Gets or sets a value that indicates whether the rows that are contained in this can have uneven rows. + To be added. + + When the property is , application developers can set the properties to control the height of items in the table. When the property is , the property is ignored. When the property is , app developers can set the property to set the height of all Cells, and their individual properties are ignored. + + Developers must specify row heights on the iOS platform, even when is . + + + + + Backing store for the HasUnevenRows property. + To be added. + + + Gets or sets the intent of the table. + To be added. + To be added. + + + To be added. + Returns the platform-specific instance of this , on which a platform-specific method may be called. + To be added. + To be added. + + + Method that is called when the binding context changes. + To be added. + + + Method that is called when the model changes. + To be added. + + + To be added. + To be added. + Method that is called when a size request is made. + To be added. + To be added. + + + Gets or sets the root of the table. + To be added. + To be added. + + + An integer that describes the height of the items in the list. This is ignored if HasUnevenRows is true. + To be added. + To be added. + + + Backing store for the row height property. + To be added. + + + Internal. + To be added. + To be added. + + + Provides tap gesture recognition and events. + Can be used to recognize single and multiple tap gestures. + + + Initializes a new instance of a TapGestureRecognizer object. + + + + An action whose first argument is the View the recognizer is associated with and whose second argument is the callback parameter. + Initializes a new instance of a TapGestureRecognizer object with a parameterized callback. + + + + An action whose first argument is the View the recognizer is associated with. + Initializes a new instance of a TapGestureRecognizer object with a callback. + + + + The Command to invoke when the gesture has been triggered by the user. This is a bindable property. + To be added. + The object passed to the Command will be the contents of + + + An object to be passed to the TappedCallback. This is a bindable property. + To be added. + To be added. + + + Identifies the CommandParameter bindable property. + + + + Identifies the Command bindable property. + + + + The number of taps required to trigger the callback. This is a bindable property. + The number of taps to recognize. The default value is 1. + + + + Identifies the NumberOfTapsRequired bindable property. + To be added. + + + Event that is raised when the user taps. + To be added. + + + The action to invoke when the gesture has been triggered by the user. This is a bindable property. + An action that will be invoked. + The object passed to the callback will be the contents of . + + + An object to be passed to the TappedCallback. This is a bindable property. + An object. + The primary use case for this property is Xaml bindings. + + + Identifies the TappedCallbackParameter bindable property. + + + + Identifies the TappedCallback bindable property. + + + + Arguments for the event. + To be added. + + + To be added. + Creates a new object with the supplied parameter. + To be added. + + + Gets the parameter object for this object. + To be added. + To be added. + + + Indicates the type of device Forms is working on. + + + + Indicates that Forms is running on a UWP app on Windows 10. + + + Indicates that the width of the iPhone, iPod Touch, Windows Phone, or Android device on which Forms is running is narrower than 600 dips. + + + Indicates that the width of the iPad, Windows 8.1, or Android device on which Forms is running is wider than 600 dips. + + + (Unused) Indicates that Forms is running on an unsupported device. + + + Indicates the kind of OS Forms is currently working on. + + + + Indicates that Forms is running on a Google Android OS. + + + Indicates that Forms is running on an Apple iOS OS. + + + (Unused) Indicates that Forms is running on an undefined platform. + + + Indicates that forms is running on the Windows platform. + + + Indicates that Forms is running on a Microsoft WinPhone OS. + + + Binds a template property to the parent of the view that owns a . + + Control templates provide reusable styling and functionality for common UI elements in an application. They do this by providing a common set of properties that bind to the parents of the View that owns the View to which the control template is bound. + + Application developers can assign these properties through XAML, as in the following example: + + + + +