Click or drag to resize
GridViewLength Structure
GridViewLength is the type used for various length properties in GridViewDataControl.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView (in Telerik.Windows.Controls.GridView.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
[TypeConverterAttribute(typeof(GridViewLengthConverter))]
public struct GridViewLength : IEquatable<GridViewLength>

The GridViewLength type exposes the following members.

Constructors
  NameDescription
Public methodGridViewLength(Double)
Initializes a new instance of the GridViewLength struct. Initializes as an absolute value in pixels.
Public methodGridViewLength(Double, GridViewLengthUnitType)
Initializes a new instance of the GridViewLength struct. Initializes to a specified value and unit.
Public methodGridViewLength(Double, GridViewLengthUnitType, Double, Double)
Initializes a new instance of the GridViewLength struct. Initializes to a specified value and unit.
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Overloaded operator, compares 2 GridViewLength's.
Public operatorStatic member(Double to GridViewLength)
Allows for values of type double to be implicitly converted to GridViewLength.
Public operatorStatic memberInequality
Overloaded operator, compares 2 GridViewLength's.
Top
Properties
  NameDescription
Public propertyStatic memberAuto
Returns a value initialized to mean "auto".
Public propertyDesiredValue
Returns the desired value of this instance.
Public propertyDisplayValue
Returns the display value of this instance.
Public propertyIsAbsolute
Returns true if this GridViewLength instance holds an absolute (pixel) value.
Public propertyIsAuto
Returns true if this GridViewLength instance is automatic (not specified).
Public propertyIsSizeToCells
Returns true if this instance is to size to the cells of a column or row.
Public propertyIsSizeToHeader
Returns true if this instance is to size to the header of a column or row.
Public propertyIsStar
Returns true if this GridViewLength instance holds a weighted proportion of available space.
Public propertyStatic memberSizeToCells
Returns a value initialized to mean "size to cells".
Public propertyStatic memberSizeToHeader
Returns a value initialized to mean "size to header".
Public propertyUnitType
Returns unit type of this GridViewLength instance.
Public propertyValue
Returns value part of this DataGridLength instance.
Top
See Also