Class ColumnLength
Describes the length of a column which could be either fixed-sized or auto-sized.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GanttView.dll
Syntax
public sealed class ColumnLength : ValueType, IEquatable<ColumnLength>
Properties
Type
Gets the type of the Column
Declaration
public ColumnLengthType Type { get; }
Property Value
Value
Gets the actual fixed size of the Column
Declaration
public double Value { get; }
Property Value
System.
|
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The object to compare with the current object. |
Returns
System. true if the specified System. |
Equals(ColumnLength)
Determines whether the specified Column
Declaration
public bool Equals(ColumnLength other)
Parameters
Column The object to compare with the current object. |
Returns
System. true if the specified Column |
FromColumnLengthType(ColumnLengthType)
Creates a new instance of the Column
Declaration
public static ColumnLength FromColumnLengthType(ColumnLengthType type)
Parameters
Column The type of the Column |
Returns
FromDouble(Double)
Creates a new fixed-size instance of the Column
Declaration
public static ColumnLength FromDouble(double length)
Parameters
System. The actual fixed size of the Column |
Returns
Column A new fixed-size instance of the Column |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System. A 32-bit signed integer that is the hash code for this instance. |
Operators
Equality(ColumnLength, ColumnLength)
Compares two instance of the Column
Declaration
public static bool operator ==(ColumnLength left, ColumnLength right)
Parameters
Column The left-hand operand of the equality operator. |
Column The right-hand operand of the equality operator. |
Returns
System. true if the left and the right-hand operands are equal; false otherwise. |
Implicit(Double to ColumnLength)
Converts from System.
Declaration
public static implicit operator ColumnLength(double length)
Parameters
System. The length of the fixed-size Column |
Returns
Column A fixed-size Column |
Implicit(ColumnLengthType to ColumnLength)
Converts from Column
Declaration
public static implicit operator ColumnLength(ColumnLengthType type)
Parameters
Column The type of the Column |
Returns
Column A Column |
Inequality(ColumnLength, ColumnLength)
Compares two instance of the Column
Declaration
public static bool operator !=(ColumnLength left, ColumnLength right)
Parameters
Column The left-hand operand of the equality operator. |
Column The right-hand operand of the equality operator. |
Returns
System. true if the left and the right-hand operands are not equal; false otherwise. |