RowDefinition Class
Definition
Holds a row definitions for a Avalonia.Controls.Grid.
public class RowDefinition
Constructors
| Name | Description |
|---|---|
| RowDefinition (3 overloads) | Initializes a new instance of the Avalonia.Controls.RowDefinition class. |
RowDefinition overloads
RowDefinition Constructor
Initializes a new instance of the Avalonia.Controls.RowDefinition class.
public RowDefinition()
RowDefinition Constructor
Initializes a new instance of the Avalonia.Controls.RowDefinition class.
public RowDefinition(Avalonia.Controls.GridLength height)
Parameters
height Avalonia.Controls.GridLength
The height of the column.
RowDefinition Constructor
Initializes a new instance of the Avalonia.Controls.RowDefinition class.
public RowDefinition(double value, Avalonia.Controls.GridUnitType type)
Parameters
value double
The height of the row.
type Avalonia.Controls.GridUnitType
The height unit of the column.
Methods
| Name | Description |
|---|---|
| Bind (8 overloads) | Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject. |
| CheckAccess | Returns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject. |
| ClearValue (4 overloads) | Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject. |
| CoerceValue | Coerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject. |
| Equals | Compares two objects using reference equality. Inherited from AvaloniaObject. |
| GetBaseValue | Inherited from AvaloniaObject. |
| GetHashCode | Gets the hash code for the object. Inherited from AvaloniaObject. |
| GetValue (3 overloads) | Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| IsAnimating | Checks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject. |
| IsSet | Checks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject. |
| SetCurrentValue (2 overloads) | Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject. |
| SetValue (3 overloads) | Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| VerifyAccess | Checks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject. |
Properties
| Name | Description |
|---|---|
| ActualHeight | Gets the actual calculated height of the row. |
| Height | Gets or sets the height of the row. |
| MaxHeight | Gets or sets the maximum height of the row in DIPs. |
| MinHeight | Gets or sets the minimum height of the row in DIPs. |
| SharedSizeGroup | SharedSizeGroup property. Inherited from DefinitionBase. |
| Dispatcher | Returns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject. |
| Item | Inherited from AvaloniaObject. |
ActualHeight Property
Gets the actual calculated height of the row.
public double ActualHeight { get; set; }
Height Property
Gets or sets the height of the row.
public Avalonia.Controls.GridLength Height { get; set; }
MaxHeight Property
Gets or sets the maximum height of the row in DIPs.
public double MaxHeight { get; set; }
MinHeight Property
Gets or sets the minimum height of the row in DIPs.
public double MinHeight { get; set; }
Fields
| Name | Description |
|---|---|
| HeightProperty | Defines the Avalonia.Controls.RowDefinition.Height property. |
| MaxHeightProperty | Defines the Avalonia.Controls.RowDefinition.MaxHeight property. |
| MinHeightProperty | Defines the Avalonia.Controls.RowDefinition.MinHeight property. |
| SharedSizeGroupProperty | Shared size group property marks column / row definition as belonging to a group "Foo" or "Bar". Inherited from DefinitionBase. |
HeightProperty Field
Defines the Avalonia.Controls.RowDefinition.Height property.
public Avalonia.StyledProperty<Avalonia.Controls.GridLength> HeightProperty
MaxHeightProperty Field
Defines the Avalonia.Controls.RowDefinition.MaxHeight property.
public Avalonia.StyledProperty<double> MaxHeightProperty
MinHeightProperty Field
Defines the Avalonia.Controls.RowDefinition.MinHeight property.
public Avalonia.StyledProperty<double> MinHeightProperty
Events
| Name | Description |
|---|---|
| PropertyChanged | Raised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject. |