Class TableWidthUnit
Defines preferred width of a table or table cell.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class TableWidthUnit
Constructors
TableWidthUnit(Double)
Initializes a new instance of the TableWidthUnit class.
Declaration
public TableWidthUnit(double value)
Parameters
System.Double
value
The value in device independent pixels (1/96 inch). |
TableWidthUnit(TableWidthUnitType)
Initializes a new instance of the TableWidthUnit class.
Declaration
public TableWidthUnit(TableWidthUnitType type)
Parameters
TableWidthUnitType
type
The type. |
TableWidthUnit(TableWidthUnitType, Double)
Initializes a new instance of the TableWidthUnit class.
Declaration
public TableWidthUnit(TableWidthUnitType type, double value)
Parameters
TableWidthUnitType
type
The type. |
System.Double
value
The value in device independent pixels (1/96 inch). |
Properties
Type
Gets or sets the unit type type.
Declaration
public TableWidthUnitType Type { get; }
Property Value
TableWidthUnitType
The unit type. |
Value
Gets or sets the unit value value. The value is in device independent pixels (1/96 inch).
Declaration
public double Value { get; }
Property Value
System.Double
The unit 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
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents the current System.Object. |
Overrides
Operators
Equality(TableWidthUnit, TableWidthUnit)
Determines whether the specified table width units are equal.
Declaration
public static bool operator ==(TableWidthUnit a, TableWidthUnit b)
Parameters
TableWidthUnit
a
|
TableWidthUnit
b
|
Returns
System.Boolean
True if the table width units are equal. |
Inequality(TableWidthUnit, TableWidthUnit)
Determines whether the specified table width units are different.
Declaration
public static bool operator !=(TableWidthUnit a, TableWidthUnit b)
Parameters
TableWidthUnit
a
|
TableWidthUnit
b
|
Returns
System.Boolean
True if the table width units are different. |