Class TableRowHeightBase<TEnum>
Represents the base functionality for managing the height of a table row, using a generic enum type to specify height-related properties.
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 or sets the type of the height.
Declaration
public TEnum Type { get; }
Property Value
TEnum
The type of the height. |
Value
Gets or sets the value. The value is in device independent pixels (1/96 inch).
Declaration
public double Value { get; }
Property Value
System.Double
The value. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
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 System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |
Overrides
Operators
Equality(TableRowHeightBase<TEnum>, TableRowHeightBase<TEnum>)
Determines whether the specified table row height are equal.
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>)
Determines whether the specified table row height are different.
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. |