Class TableRowHeightBase<TEnum>
Base type for describing row height with a typed mode (TEnum) and a DIP value for layout.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Model.Tables
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public abstract class TableRowHeightBase<TEnum>
where TEnum : Enum
Type Parameters
|
TEnum
The enum type that defines specific height-related options for the table row. Must be a type derived from System.Enum. |
Properties
Type
Gets the height mode from TEnum, which determines how Value affects layout.
Declaration
public TEnum Type { get; }
Property Value
|
TEnum
The type of the height. |
Value
Gets the row height value in device-independent pixels (1/96 inch), interpreted per the selected Type.
Declaration
public double Value { get; }
Property Value
|
System.Double
The value. |
Methods
Equals(Object)
Determine whether the specified System.Object equals this row-height descriptor.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
|
System.Boolean
Returns true if the specified System.Object is equal to the current instance; otherwise, false. |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |
Overrides
Operators
Equality(TableRowHeightBase<TEnum>, TableRowHeightBase<TEnum>)
Compare two row-height descriptors for equality of type and value.
Declaration
public static bool operator ==(TableRowHeightBase<TEnum> a, TableRowHeightBase<TEnum> b)
Parameters
|
TableRowHeightBase<TEnum>
a
|
|
TableRowHeightBase<TEnum>
b
|
Returns
|
System.Boolean
True if the table row heights are equal. |
Inequality(TableRowHeightBase<TEnum>, TableRowHeightBase<TEnum>)
Compare two row-height descriptors for inequality.
Declaration
public static bool operator !=(TableRowHeightBase<TEnum> a, TableRowHeightBase<TEnum> b)
Parameters
|
TableRowHeightBase<TEnum>
a
|
|
TableRowHeightBase<TEnum>
b
|
Returns
|
System.Boolean
True if the table row heights are different. |