ClassTableWidthUnit
Defines table or cell width as auto-calculated, fixed pixels, or percentage of available space based on type and value.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Styles
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class TableWidthUnit
Inheritance: objectTableWidthUnit
Constructors
TableWidthUnit(TableWidthUnitType)
Initializes width with the specified type; typically used for auto-width elements.
Declaration
public TableWidthUnit(TableWidthUnitType type)
Parameters
type
The type.
TableWidthUnit(TableWidthUnitType, double)
Initializes width with the specified type and value in device independent pixels (1/96 inch).
Declaration
public TableWidthUnit(TableWidthUnitType type, double value)
Parameters
type
The type.
value
The value in device independent pixels (1/96 inch).
TableWidthUnit(double)
Initializes fixed-width using the specified value in device independent pixels (1/96 inch).
Declaration
public TableWidthUnit(double value)
Parameters
value
The value in device independent pixels (1/96 inch).
Properties
Type
Gets the width type indicating auto, fixed, or percentage measurement.
Declaration
public TableWidthUnitType Type { get; }
Property Value
The unit type.
Methods
GetHashCode()
Serves as a hash function for a particular type.
Operators
operator !=(TableWidthUnit, TableWidthUnit)
Determines whether the specified table width units are different.
Declaration
public static bool operator !=(TableWidthUnit a, TableWidthUnit b)
Parameters
a
b
Returns
True if the table width units are different.
operator ==(TableWidthUnit, TableWidthUnit)
Determines whether the specified table width units are equal.
Declaration
public static bool operator ==(TableWidthUnit a, TableWidthUnit b)
Parameters
a
b
Returns
True if the table width units are equal.