[]
Constructor, initializes the GridLength as absolute value in pixels.
public GridLength(double pixels)
Type | Name | Description |
---|---|---|
double | pixels | Specifies the number of 'device-independent pixels' |
Constructor, initializes the GridLength and specifies what kind of value it will hold.
public GridLength(double value, GridUnitType unit)
Type | Name | Description |
---|---|---|
double | value | Value to be stored by this GridLength instance. |
GridUnitType | unit | Type of the value to be stored by this GridLength instance. |