See Also: ContentView Members
The Xamarin.Forms.ContentView class has the following XAML property:
| Property | Value |
|---|---|
| Content | The Xamarin.Forms.View object that represents the visual content of the Xamarin.Forms.ContentView. |
The following example shows how to construct a new ContentView with a Label inside.
C# Example
var layout = new ContentView {
Content = new Label { Text = "I'm Content!" },
};
