Table of Contents

Class RowDefinition

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Holds a row definitions for a Grid.

public class RowDefinition : DefinitionBase, INotifyPropertyChanged
Inheritance
RowDefinition
Implements
Inherited Members

Constructors

RowDefinition()

Initializes a new instance of the RowDefinition class.

public RowDefinition()

RowDefinition(GridLength)

Initializes a new instance of the RowDefinition class.

public RowDefinition(GridLength height)

Parameters

height GridLength

The height of the column.

RowDefinition(double, GridUnitType)

Initializes a new instance of the RowDefinition class.

public RowDefinition(double value, GridUnitType type)

Parameters

value double

The height of the row.

type GridUnitType

The height unit of the column.

Fields

HeightProperty

Defines the Height property.

public static readonly StyledProperty<GridLength> HeightProperty

Field Value

StyledProperty<GridLength>

MaxHeightProperty

Defines the MaxHeight property.

public static readonly StyledProperty<double> MaxHeightProperty

Field Value

StyledProperty<double>

MinHeightProperty

Defines the MinHeight property.

public static readonly StyledProperty<double> MinHeightProperty

Field Value

StyledProperty<double>

Properties

ActualHeight

Gets the actual calculated height of the row.

public double ActualHeight { get; }

Property Value

double

Height

Gets or sets the height of the row.

public GridLength Height { get; set; }

Property Value

GridLength

MaxHeight

Gets or sets the maximum height of the row in DIPs.

public double MaxHeight { get; set; }

Property Value

double

MinHeight

Gets or sets the minimum height of the row in DIPs.

public double MinHeight { get; set; }

Property Value

double