Xamarin.Forms.Core 1.0.0.0 1.1.0.0 1.2.0.0 1.3.0.0 1.4.0.0 1.5.0.0 2.0.0.0 Xamarin.Forms.VisualElement Xamarin.Forms.IViewController A visual element that is used to place layouts and controls on the screen. The class is a base class for the class, and most of the controls that application developers will use. Nearly all UI elements that an application developer will use are derived from class. Because the class ultimately inherits from class, application developers can use the Model-View-ViewModel architecture, as well as XAML, to develop portable user interfaces. The remarks in the topic provide a discussion of MVVM and bound properties. Constructor 1.0.0.0 1.1.0.0 1.2.0.0 1.3.0.0 1.4.0.0 1.5.0.0 2.0.0.0 Initializes a new instance of the View class. It is unlikely that an application developer would want to create a new View instance on their own. Property 1.0.0.0 1.1.0.0 1.2.0.0 1.3.0.0 1.4.0.0 1.5.0.0 2.0.0.0 System.Collections.Generic.IList<Xamarin.Forms.IGestureRecognizer> The collection of gesture recognizers associated with this view. A List of . Adding items to this collection will associate gesture events with this element. This is not nessesary for elements which natively support input, such as a Button. This example creates a tap gesture recognizer and associates it with an image. When the image is double tapped, it will become semi-transparent. image.Opacity = 0.5, NumberOfTapsRequired = 2 }; image.GestureRecognizers.Add (gestureRecognizer); ]]> Property 1.0.0.0 1.1.0.0 1.2.0.0 1.3.0.0 1.4.0.0 1.5.0.0 2.0.0.0 Xamarin.Forms.LayoutOptions Gets or sets the that define how the element gets laid in a layout cycle. This is a bindable property. A which defines how to lay out the element. Default value is unless otherwise documented. Assigning the HorizontalOptions modifies how the element is laid out when there is excess space available along the X axis from the parent layout. Additionally it specifies if the element should consume leftover space in the X axis from the parent layout. If multiple children of a layout are set to expand, the extra space is distributed proportionally. This example creates four views and adds them to a stack, each laying out in a different manner. Field 1.0.0.0 1.1.0.0 1.2.0.0 1.3.0.0 1.4.0.0 1.5.0.0 2.0.0.0 Xamarin.Forms.BindableProperty Identifies the HorizontalOptions bindable property. Property 2.0.0.0 Xamarin.Forms.Thickness Gets or sets the margin for the view. To be added. To be added. Field 2.0.0.0 Xamarin.Forms.BindableProperty Backing store for the property. To be added. Method 1.0.0.0 1.1.0.0 1.2.0.0 1.3.0.0 1.4.0.0 1.5.0.0 2.0.0.0 System.Void Invoked whenever the binding context of the changes. Override this method to add class handling for this event. Overriders must call the base method. Property 1.0.0.0 1.1.0.0 1.2.0.0 1.3.0.0 1.4.0.0 1.5.0.0 2.0.0.0 Xamarin.Forms.LayoutOptions Gets or sets the that define how the element gets laid in a layout cycle. This is a bindable property. A which defines how to lay out the element. Default value is unless otherwise documented. Assigning the VerticalOptions modifies how the element is laid out when there is excess space available along the Y axis from the parent layout. Additionally it specifies if the element should consume leftover space in the Y axis from the parent layout. If multiple children of a layout are set to expand, the extra space is distributed proportionally. This example creates four views and adds them to a stack, each laying out in a different manner. Field 1.0.0.0 1.1.0.0 1.2.0.0 1.3.0.0 1.4.0.0 1.5.0.0 2.0.0.0 Xamarin.Forms.BindableProperty Identifies the VerticalOptions bindable property.