Class Table
Represent a table.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Editing.Tables
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class Table : IBlockElement, IDrawArrangedElement
Constructors
Table()
Properties
Background
Gets or sets the background of the table.
Declaration
public ColorBase Background { get; set; }
Property Value
ColorBase
The background of the table. |
BorderCollapse
Gets or sets borders collapse state.
Declaration
public BorderCollapse BorderCollapse { get; set; }
Property Value
BorderCollapse
Value indicating the border collapse state. |
Borders
Gets the borders.
Declaration
public TableBorders Borders { get; set; }
Property Value
TableBorders
The borders. |
BorderSpacing
Gets or sets the border spacing.
Declaration
public double BorderSpacing { get; set; }
Property Value
System.Double
The border spacing. |
DefaultCellProperties
Gets the default cell properties.
Declaration
public CellProperties DefaultCellProperties { get; }
Property Value
CellProperties
The default cell properties. |
DesiredSize
Gets the desired size.
Declaration
public Size DesiredSize { get; }
Property Value
System.Windows.Size
The desired size. |
Implements
HasPendingContent
Gets if there is any pending content after the last measure.
Declaration
public bool HasPendingContent { get; }
Property Value
System.Boolean
Boolean value indicating whether there is any pending content after the last measure. |
Implements
HorizontalAlignment
Gets or sets the alignment of the entire table.
Declaration
public TableHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
TableHorizontalAlignment
|
LayoutType
Gets or sets the layout type of the table.
Declaration
public TableLayoutType LayoutType { get; set; }
Property Value
TableLayoutType
The layout type. |
Margin
Gets or sets the margin.
Declaration
public Thickness Margin { get; set; }
Property Value
System.Windows.Thickness
The margin. |
Rows
Gets the rows.
Declaration
public TableRowCollection Rows { get; }
Property Value
TableRowCollection
The rows. |
Methods
Draw(FixedContentEditor, Rect)
Draws the block element with the specified editor.
Declaration
public void Draw(FixedContentEditor editor, Rect boundingRect)
Parameters
FixedContentEditor
editor
The editor. |
System.Windows.Rect
boundingRect
The bounding rect. |
Implements
Measure()
Measures this instance in infinity.
Declaration
public Size Measure()
Returns
System.Windows.Size
The measured size. |
Measure(Size)
Measures the block element with specified available size.
Declaration
[Obsolete("The method is obsolete. Please use Measure(Size availableSize, CancellationToken cancellationToken) instead.")]
public Size Measure(Size availableSize)
Parameters
System.Windows.Size
availableSize
The available size. |
Returns
System.Windows.Size
The result size. |
Implements
Measure(Size, CancellationToken)
Measures the block element with specified available size.
Declaration
public Size Measure(Size availableSize, CancellationToken cancellationToken)
Parameters
System.Windows.Size
availableSize
The available size. |
System.Threading.CancellationToken
cancellationToken
The cancellation token used to cancel the operation. |
Returns
System.Windows.Size
The result size. |
Implements
Split()
Explicit Interface Implementations
IBlockElement.Split()
Splits this instance.
Declaration
IBlockElement IBlockElement.Split()
Returns
IBlockElement
The remaining block element. |