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 : DependencyObject
Constructors
| Improve this Doc View SourceRowDefinition()
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 the rendered height of a FrameworkElement. The FrameworkElement must be in the visual tree, otherwise this property will return double.NaN.
Declaration
public double ActualHeight { get; }
Property Value
Type | Description |
---|---|
System.Double |
Height
Gets the calculated height of a RowDefinition element, or sets the GridLength value of a row that is defined by the RowDefinition. Returns the GridLength that represents the height of the row. The default value is 1.0
Declaration
public GridLength Height { get; set; }
Property Value
Type | Description |
---|---|
GridLength |
MaxHeight
Gets or sets a value that represents the maximum height of a RowDefinition. Returns a Double that represents the maximum height in pixels. The default is PositiveInfinity.
Declaration
public double MaxHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MinHeight
Gets or sets a value that represents the minimum height of a RowDefinition. Returns a Double that represents the minimum height in pixels. The default is 0.
Declaration
public double MinHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceClone()
Returns a copy of this RowDefinition.
Declaration
public RowDefinition Clone()
Returns
Type | Description |
---|---|
RowDefinition | A copy of this RowDefinition. |