Xamarin.Forms.RowDefinition Class
An Xamarin.Forms.IDefinition that defines properties for a row in a Xamarin.Forms.Grid.

See Also: RowDefinition Members

Syntax

public sealed class RowDefinition : BindableObject, IDefinition

Remarks

The Xamarin.Forms.RowDefinition class has the following XAML property:

PropertyValue
Height

"*" or "Auto" to indicate the corresponding Xamarin.Forms.GridUnitType enumeration values, or a number to indicate an absolute height.

App developers can specify Xamarin.Forms.GridUnitType values for the ColumnDefinition.Height property in XAML. This is typically done inside tags for the Grid.RowDefinitions collection property. The following example demonstrates setting three row heights to each of the three valid Xamarin.Forms.GridUnitType values:

XAML Example

<Grid.RowDefinitions>
    <RowDefinition Height="Auto" />
    <RowDefinition Height="*" />
    <RowDefinition Height="100" />
</Grid.RowDefinitions>

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0