GridLength GridLength GridLength GridLength Struct

Definition

Represents the length of elements that explicitly support Star unit types.

public value class GridLength
[System.Security.SecurityCritical]
public struct GridLength
type GridLength = struct
Public Structure GridLength
Inheritance
GridLengthGridLengthGridLengthGridLength
Attributes

Constructors

GridLength(Double) GridLength(Double) GridLength(Double) GridLength(Double)

Initializes a new instance of the GridLength structure using the specified absolute value in pixels.

GridLength(Double, GridUnitType) GridLength(Double, GridUnitType) GridLength(Double, GridUnitType) GridLength(Double, GridUnitType)

Initializes a new instance of the GridLength structure and specifies what kind of value it holds.

Properties

Auto Auto Auto Auto

Gets an instance of GridLength that holds a value whose size is determined by the size properties of the content object.

GridUnitType GridUnitType GridUnitType GridUnitType

Gets the associated GridUnitType for the GridLength.

IsAbsolute IsAbsolute IsAbsolute IsAbsolute

Gets a value that indicates whether the GridLength holds a value that is expressed in pixels.

IsAuto IsAuto IsAuto IsAuto

Gets a value that indicates whether the GridLength holds a value whose size is determined by the size properties of the content object.

IsStar IsStar IsStar IsStar

Gets a value that indicates whether the GridLength holds a value that is expressed as a weighted proportion of available space.

Value Value Value Value

Gets a Double that represents the value of the GridLength.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current GridLength instance.

Equals(GridLength) Equals(GridLength) Equals(GridLength) Equals(GridLength)

Determines whether the specified GridLength is equal to the current GridLength.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets a hash code for the GridLength.

ToString() ToString() ToString() ToString()

Returns a String representation of the GridLength.

Operators

Equality(GridLength, GridLength) Equality(GridLength, GridLength) Equality(GridLength, GridLength) Equality(GridLength, GridLength)

Compares two GridLength structures for equality.

Inequality(GridLength, GridLength) Inequality(GridLength, GridLength) Inequality(GridLength, GridLength) Inequality(GridLength, GridLength)

Compares two GridLength structures to determine if they are not equal.

Applies to