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 Table
Declaration
public TableCell(RadFlowDocument document)
Parameters
Rad 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
BordersPropertyDefinition
Gets the Left border property definition.
Declaration
public static readonly StylePropertyDefinition<TableCellBorders> BordersPropertyDefinition
Field Value
CanWrapContentPropertyDefinition
Gets the can wrap content property definition.
Declaration
public static readonly StylePropertyDefinition<bool? > CanWrapContentPropertyDefinition
Field Value
Style
|
ColumnSpanPropertyDefinition
Gets the columns span property definition.
Declaration
public static readonly StylePropertyDefinition<int? > ColumnSpanPropertyDefinition
Field Value
Style
|
IgnoreCellMarkerInRowHeightCalculationPropertyDefinition
Gets the ignore cell marker in row height calculation property definition.
Declaration
public static readonly StylePropertyDefinition<bool? > IgnoreCellMarkerInRowHeightCalculationPropertyDefinition
Field Value
Style
|
PaddingPropertyDefinition
Gets the padding property definition.
Declaration
public static readonly StylePropertyDefinition<Padding> PaddingPropertyDefinition
Field Value
PreferredWidthPropertyDefinition
Gets the preferred width property definition.
Declaration
public static readonly StylePropertyDefinition<TableWidthUnit> PreferredWidthPropertyDefinition
Field Value
RowSpanPropertyDefinition
Gets the row span property definition.
Declaration
public static readonly StylePropertyDefinition<int? > RowSpanPropertyDefinition
Field Value
Style
|
ShadingPatternColorPropertyDefinition
Gets the shading pattern color property definition.
Declaration
public static readonly StylePropertyDefinition<ThemableColor> ShadingPatternColorPropertyDefinition
Field Value
ShadingPatternPropertyDefinition
Gets the shading pattern property definition.
Declaration
public static readonly StylePropertyDefinition<ShadingPattern? > ShadingPatternPropertyDefinition
Field Value
Style
|
TextDirectionPropertyDefinition
Gets the text direction property definition.
Declaration
public static readonly StylePropertyDefinition<TextDirection> TextDirectionPropertyDefinition
Field Value
VerticalAlignmentPropertyDefinition
Gets the vertical alignment property definition.
Declaration
public static readonly StylePropertyDefinition<VerticalAlignment? > VerticalAlignmentPropertyDefinition
Field Value
Style
|
Properties
Borders
Gets or sets the borders.
Declaration
public TableCellBorders Borders { get; set; }
Property Value
Table 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. The default value is |
ColumnSpan
Gets or sets the column span.
Declaration
public int ColumnSpan { get; set; }
Property Value
System. The default value is |
GridColumnIndex
Gets the column index of the cell in the table grid.
Declaration
public int GridColumnIndex { get; }
Property Value
System. 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. 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. 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
Table The preferred width. |
Properties
Gets the styling properties of this element.
Declaration
public TableCellProperties Properties { get; }
Property Value
Table The properties. |
Row
Gets the parent row of the cell.
Declaration
public TableRow Row { get; }
Property Value
Table The row. |
RowSpan
Gets or sets the row span.
Declaration
public int RowSpan { get; set; }
Property Value
System. 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
Text The text direction. |
VerticalAlignment
Gets or sets the vertical alignment.
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Vertical The default value is |
Methods
Clone()
Creates deep copy of this document element, associated to the current document.
Declaration
public TableCell Clone()
Returns
Table The cloned element. |
Clone(RadFlowDocument)
Creates deep copy of this document element, associated to document
.
Declaration
public TableCell Clone(RadFlowDocument document)
Parameters
Rad The document to which the cloned element should be associated. |
Returns
Table The cloned element. |
Explicit Interface Implementations
IElementWithProperties.Properties
Gets the properties.
Declaration
DocumentElementPropertiesBase IElementWithProperties.Properties { get; }
Returns
Document The properties. |