Show / Hide Table of Contents

Class RowDefinition

Defines row-specific properties that apply to Grid elements.

Inheritance
System.Object
DependencyObject
DefinitionBase
RowDefinition
Inherited Members
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
public sealed class RowDefinition : DefinitionBase, IDependencyObject

Constructors

| Improve this Doc View Source

RowDefinition()

Initializes a new instance of the RowDefinition class.

Declaration
public RowDefinition()

Fields

| Improve this Doc View Source

HeightProperty

Identifies the Height dependency property.

Declaration
public static readonly DependencyProperty HeightProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

MaxHeightProperty

Identifies the MaxHeight dependency property.

Declaration
public static readonly DependencyProperty MaxHeightProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

MinHeightProperty

Identifies the MinHeight dependency property.

Declaration
public static readonly DependencyProperty MinHeightProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

ActualHeight

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Clone()

Returns a copy of this RowDefinition.

Declaration
public RowDefinition Clone()
Returns
Type Description
RowDefinition

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source