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.TemplatedView
Xamarin.Forms.ContentProperty("Content")
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.
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 fo the ContentView class.
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.View
Gets or sets the content of the ContentView.
A that contains the content.
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
System.Void
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
2.0.0.0
System.Void
Method that is called when the binding context changes.
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
Xamarin.Forms.SizeRequest
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.