ClassTableWidthUnit
Represents the width unit of a table in the Telerik document model.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
[TypeConverter(typeof(TableWidthUnitConverter))]
public class TableWidthUnit
Inheritance: objectTableWidthUnit
Constructors
TableWidthUnit(TableWidthUnitType)
Declaration
public TableWidthUnit(TableWidthUnitType type)
Parameters
type
TableWidthUnit(TableWidthUnitType, double)
Declaration
public TableWidthUnit(TableWidthUnitType type, double value)
Parameters
type
value
Properties
Type
Represents the different types of table width units that can be used in a table.
Declaration
public TableWidthUnitType Type { get; }
Property Value
Methods
Calculate(float)
Calculates the value of the table width in a specified unit based on the given float value.
Equals(object)
Determines whether the specified object is equal to the current TableWidthUnit instance.
GetHashCode()
Returns a hash code for the current instance of the TableWidthUnit class.
Declaration
public override int GetHashCode()
Returns
A 32-bit signed integer that is the hash code for the current instance.
Overrides
Operators
operator !=(TableWidthUnit, TableWidthUnit)
Declaration
public static bool operator !=(TableWidthUnit left, TableWidthUnit right)
Parameters
left
right
Returns
operator ==(TableWidthUnit, TableWidthUnit)
Declaration
public static bool operator ==(TableWidthUnit left, TableWidthUnit right)
Parameters
left
right
Returns