| DataGridLength Structure |
Namespace: System.Windows.Controls
public struct DataGridLength : IEquatable<DataGridLength>
The DataGridLength type exposes the following members.
| Name | Description | |
|---|---|---|
| DataGridLength(Double) |
Initializes a new instance of the System.Windows.Controls.DataGridLength
class with an absolute value in pixels.
| |
| DataGridLength(Double, DataGridLengthUnitType) |
Initializes a new instance of the System.Windows.Controls.DataGridLength
class with a specified value and unit.
|
| Name | Description | |
|---|---|---|
| Equals(DataGridLength) |
Determines whether the specified System.Windows.Controls.DataGridLength is
equal to the current System.Windows.Controls.DataGridLength.
| |
| Equals(Object) |
Determines whether the specified object is equal to the current System.Windows.Controls.DataGridLength.
(Overrides ValueTypeEquals(Object).) | |
| GetHashCode |
Gets a hash code for the System.Windows.Controls.DataGridLength.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns a string that represents the current object.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Equality |
Compares two System.Windows.Controls.DataGridLength structures for equality.
| |
| (Double to DataGridLength) |
Converts a System.Double to an instance of the System.Windows.Controls.DataGridLength
class.
| |
| Inequality |
Compares two System.Windows.Controls.DataGridLength structures to determine
whether they are not equal.
|
| Name | Description | |
|---|---|---|
| Auto |
Gets a System.Windows.Controls.DataGridLength structure that represents the
standard automatic sizing mode.
| |
| IsAbsolute |
Gets a value that indicates whether this instance sizes elements based on
a fixed pixel value.
| |
| IsAuto |
Gets a value that indicates whether this instance automatically sizes elements
based on both the content of cells and the column headers.
| |
| IsStar |
Gets a value that indicates whether this instance automatically sizes elements
based on a weighted proportion of available space.
| |
| UnitType |
Gets the type that is used to determine how the size of the element is calculated.
| |
| Value |
Gets the absolute value of the System.Windows.Controls.DataGridLength in
pixels, or 1.0 if the System.Windows.Controls.DataGridLength.UnitType property is
set to System.Windows.Controls.DataGridLengthUnitType.Auto.
|