Class RowDefinition
Defines row-specific properties that apply to Grid elements.
Inherited Members
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
public sealed class RowDefinition : DefinitionBase, IDependencyObject
Constructors
| Improve this Doc View SourceRowDefinition()
Initializes a new instance of the RowDefinition class.
Declaration
public RowDefinition()
Fields
| Improve this Doc View SourceHeightProperty
Identifies the Height dependency property.
Declaration
public static readonly DependencyProperty HeightProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MaxHeightProperty
Identifies the MaxHeight dependency property.
Declaration
public static readonly DependencyProperty MaxHeightProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MinHeightProperty
Identifies the MinHeight dependency property.
Declaration
public static readonly DependencyProperty MinHeightProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceActualHeight
Gets a value that represents the calculated height of the RowDefinition.
Declaration
public double ActualHeight { get; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double that represents the calculated height in pixels. The default value is 0. |
Height
Gets the calculated height of a RowDefinition element, or sets the GridLength value of a row that is defined by the RowDefinition.
Declaration
public GridLength Height { get; set; }
Property Value
Type | Description |
---|---|
GridLength | The GridLength that represents the height of the row. The default value is 1.0. |
MaxHeight
Gets or sets a value that represents the maximum height of a RowDefinition.
Declaration
public double MaxHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double that represents the maximum height. |
MinHeight
Gets or sets a value that represents the minimum allowed height of a RowDefinition.
Declaration
public double MinHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double that represents the minimum allowed height. The default value is 0. |
Offset
Gets a value that represents the offset value of this RowDefinition.
Declaration
public double Offset { get; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double that represents the offset of the row. The default value is 0.0. |
Methods
| Improve this Doc View SourceClone()
Returns a copy of this RowDefinition.
Declaration
public RowDefinition Clone()
Returns
Type | Description |
---|---|
RowDefinition |