Class GridViewLength
GridViewLength is the type used for various length properties in GridViewDataControl.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public sealed class GridViewLength : ValueType, IEquatable<GridViewLength>
Constructors
GridViewLength(Double)
Initializes a new instance of the Grid
Declaration
public GridViewLength(double value)
Parameters
System.
|
GridViewLength(Double, GridViewLengthUnitType)
Initializes a new instance of the Grid
Declaration
public GridViewLength(double value, GridViewLengthUnitType type)
Parameters
System.
|
Grid
|
GridViewLength(Double, GridViewLengthUnitType, Double, Double)
Initializes a new instance of the Grid
Declaration
public GridViewLength(double value, GridViewLengthUnitType type, double desiredValue, double displayValue)
Parameters
System.
|
Grid
|
System.
|
System.
|
Properties
Auto
Returns a value initialized to mean "auto".
Declaration
public static GridViewLength Auto { get; }
Property Value
DesiredValue
Returns the desired value of this instance.
Declaration
public double DesiredValue { get; }
Property Value
System.
|
DisplayValue
Returns the display value of this instance.
Declaration
public double DisplayValue { get; }
Property Value
System.
|
IsAbsolute
Returns true
if this GridViewLength instance holds
an absolute (pixel) value.
Declaration
public bool IsAbsolute { get; }
Property Value
System.
|
IsAuto
Returns true
if this GridViewLength instance is
automatic (not specified).
Declaration
public bool IsAuto { get; }
Property Value
System.
|
IsSizeToCells
Returns true
if this instance is to size to the cells of a column or row.
Declaration
public bool IsSizeToCells { get; }
Property Value
System.
|
IsSizeToHeader
Returns true
if this instance is to size to the header of a column or row.
Declaration
public bool IsSizeToHeader { get; }
Property Value
System.
|
IsStar
Returns true
if this GridViewLength instance holds a weighted proportion
of available space.
Declaration
public bool IsStar { get; }
Property Value
System.
|
SizeToCells
Returns a value initialized to mean "size to cells".
Declaration
public static GridViewLength SizeToCells { get; }
Property Value
SizeToHeader
Returns a value initialized to mean "size to header".
Declaration
public static GridViewLength SizeToHeader { get; }
Property Value
UnitType
Returns unit type of this GridViewLength instance.
Declaration
public GridViewLengthUnitType UnitType { get; }
Property Value
Value
Returns value part of this DataGridLength instance.
Declaration
public double Value { get; }
Property Value
System.
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.
|
Returns
System.
|
Equals(GridViewLength)
Compares this instance of GridViewLength with another instance.
Declaration
public bool Equals(GridViewLength other)
Parameters
Grid
|
Returns
System.
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.
|
ToString()
Declaration
public override string ToString()
Returns
System.
|
ToString(IFormatProvider)
Declaration
public string ToString(IFormatProvider provider)
Parameters
System.
|
Returns
System.
|
Operators
Equality(GridViewLength, GridViewLength)
Overloaded operator, compares 2 GridViewLength's.
Declaration
public static bool operator ==(GridViewLength left, GridViewLength right)
Parameters
Grid
|
Grid
|
Returns
System.
|
Implicit(Double to GridViewLength)
Allows for values of type double to be implicitly converted to GridViewLength.
Declaration
public static implicit operator GridViewLength(double value)
Parameters
System. The number of pixels to represent. |
Returns
Inequality(GridViewLength, GridViewLength)
Overloaded operator, compares 2 GridViewLength's.
Declaration
public static bool operator !=(GridViewLength left, GridViewLength right)
Parameters
Grid
|
Grid
|
Returns
System.
|