Skip to main content

Length Members

A structure that specifies the width (or the height) of StackGroups, RowDefinitions and ColumnDefinitions.

Constructors

Name Description
Length() Initializes a new instance of the Length class with the default settings.
Length(Double, LengthUnitType) Initializes a new instance of the Length class with the specified settings.
Length(Double) Initializes a new instance of the Length class with the specified settings.

Properties

Name Description
UnitType Gets or sets the way a StackGroup‘s, RowDefinition‘s or ColumnDefinition‘s length is measured.
UnitValue Gets or sets the numeric representation for the length of a Stack Group, RowDefinition or ColumnDefinition.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the text representation of the Length object.

Events

Name Description
PropertyChanged Occurs whenever this Length‘s properties change.
See Also