Class TableCell
A flow document element that defines a cell of content within a Table.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class TableCell : BlockContainerBase, IChildrenList, IElementWithProperties, ISdtBlock
Constructors
TableCell(RadFlowDocument)
Initializes a new instance of the TableCell class.
Declaration
public TableCell(RadFlowDocument document)
Parameters
RadFlowDocument
document
The document in which the element will be added. |
Fields
BackgroundColorPropertyDefinition
Gets the background color property definition.
Declaration
public static readonly StylePropertyDefinition<ThemableColor> BackgroundColorPropertyDefinition
Field Value
StylePropertyDefinition<ThemableColor>
|
BordersPropertyDefinition
Gets the Left border property definition.
Declaration
public static readonly StylePropertyDefinition<TableCellBorders> BordersPropertyDefinition
Field Value
StylePropertyDefinition<TableCellBorders>
|
CanWrapContentPropertyDefinition
Gets the can wrap content property definition.
Declaration
public static readonly StylePropertyDefinition<bool? > CanWrapContentPropertyDefinition
Field Value
StylePropertyDefinition<System.Nullable<System.Boolean>>
|
ColumnSpanPropertyDefinition
Gets the columns span property definition.
Declaration
public static readonly StylePropertyDefinition<int? > ColumnSpanPropertyDefinition
Field Value
StylePropertyDefinition<System.Nullable<System.Int32>>
|
IgnoreCellMarkerInRowHeightCalculationPropertyDefinition
Gets the ignore cell marker in row height calculation property definition.
Declaration
public static readonly StylePropertyDefinition<bool? > IgnoreCellMarkerInRowHeightCalculationPropertyDefinition
Field Value
StylePropertyDefinition<System.Nullable<System.Boolean>>
|
PaddingPropertyDefinition
Gets the padding property definition.
Declaration
public static readonly StylePropertyDefinition<Padding> PaddingPropertyDefinition
Field Value
StylePropertyDefinition<Padding>
|
PreferredWidthPropertyDefinition
Gets the preferred width property definition.
Declaration
public static readonly StylePropertyDefinition<TableWidthUnit> PreferredWidthPropertyDefinition
Field Value
StylePropertyDefinition<TableWidthUnit>
|
RowSpanPropertyDefinition
Gets the row span property definition.
Declaration
public static readonly StylePropertyDefinition<int? > RowSpanPropertyDefinition
Field Value
StylePropertyDefinition<System.Nullable<System.Int32>>
|
ShadingPatternColorPropertyDefinition
Gets the shading pattern color property definition.
Declaration
public static readonly StylePropertyDefinition<ThemableColor> ShadingPatternColorPropertyDefinition
Field Value
StylePropertyDefinition<ThemableColor>
|
ShadingPatternPropertyDefinition
Gets the shading pattern property definition.
Declaration
public static readonly StylePropertyDefinition<ShadingPattern? > ShadingPatternPropertyDefinition
Field Value
StylePropertyDefinition<System.Nullable<ShadingPattern>>
|
TextDirectionPropertyDefinition
Gets the text direction property definition.
Declaration
public static readonly StylePropertyDefinition<TextDirection> TextDirectionPropertyDefinition
Field Value
StylePropertyDefinition<TextDirection>
|
VerticalAlignmentPropertyDefinition
Gets the vertical alignment property definition.
Declaration
public static readonly StylePropertyDefinition<VerticalAlignment? > VerticalAlignmentPropertyDefinition
Field Value
StylePropertyDefinition<System.Nullable<VerticalAlignment>>
|
Properties
Borders
Gets or sets the borders.
Declaration
public TableCellBorders Borders { get; set; }
Property Value
TableCellBorders
The borders. |
CanWrapContent
Gets or sets a value indicating whether the content can be wrapped during the table layout.
Declaration
public bool CanWrapContent { get; set; }
Property Value
System.Boolean
The default value is |
ColumnSpan
Gets or sets the column span.
Declaration
public int ColumnSpan { get; set; }
Property Value
System.Int32
The default value is |
GridColumnIndex
Gets the column index of the cell in the table grid.
Declaration
public int GridColumnIndex { get; }
Property Value
System.Int32
The column index of the cell in the table grid. |
GridRowIndex
Gets the row index of the cell in the table grid.
Declaration
public int GridRowIndex { get; }
Property Value
System.Int32
The row index of the cell in the table grid. |
IgnoreCellMarkerInRowHeightCalculation
Gets or sets a value indicating whether cell marker will be ignored when row height is calculated.
Declaration
public bool IgnoreCellMarkerInRowHeightCalculation { get; set; }
Property Value
System.Boolean
The default value is |
Padding
Gets or sets the padding.
Declaration
public Padding Padding { get; set; }
Property Value
Padding
The table cell padding. |
PreferredWidth
Gets or sets the preferred width.
Declaration
public TableWidthUnit PreferredWidth { get; set; }
Property Value
TableWidthUnit
The preferred width. |
Properties
Gets the styling properties of this element.
Declaration
public TableCellProperties Properties { get; }
Property Value
TableCellProperties
The properties. |
Row
Gets the parent row of the cell.
Declaration
public TableRow Row { get; }
Property Value
TableRow
The row. |
RowSpan
Gets or sets the row span.
Declaration
public int RowSpan { get; set; }
Property Value
System.Int32
The default value is |
Shading
Gets or sets the shading which shall be applied to the extents of the cell.
Declaration
public Shading Shading { get; }
Property Value
Shading
The shading. |
Table
Gets the parent table of the cell.
Declaration
public Table Table { get; }
Property Value
Table
The table. |
TextDirection
Gets or sets the text direction.
Declaration
public TextDirection TextDirection { get; set; }
Property Value
TextDirection
The text direction. |
VerticalAlignment
Gets or sets the vertical alignment.
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
VerticalAlignment
The default value is |
Methods
Clone()
Creates deep copy of this document element, associated to the current document.
Declaration
public TableCell Clone()
Returns
TableCell
The cloned element. |
Clone(RadFlowDocument)
Creates deep copy of this document element, associated to document
.
Declaration
public TableCell Clone(RadFlowDocument document)
Parameters
RadFlowDocument
document
The document to which the cloned element should be associated. |
Returns
TableCell
The cloned element. |
Explicit Interface Implementations
IElementWithProperties.Properties
Gets the properties.
Declaration
DocumentElementPropertiesBase IElementWithProperties.Properties { get; }
Returns
DocumentElementPropertiesBase
The properties. |