Class TableCell
A class representing table cells.
Inherited Members
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class TableCell : BlockContainerBase, IBlockContainer
Constructors
TableCell()
Fields
BackgroundProperty
Declaration
public static readonly StylePropertyDefinition<Nullable<Color>, TableCellProperties> BackgroundProperty
Field Value
Style
|
PaddingProperty
Declaration
public static readonly StylePropertyDefinition<Nullable<Padding>, TableCellProperties> PaddingProperty
Field Value
Style
|
ThemeBackgroundProperty
Declaration
public static readonly StylePropertyDefinition<Nullable<ThemeColorsEnum>, TableCellProperties> ThemeBackgroundProperty
Field Value
Style
|
ThemeFillShadeProperty
Declaration
public static readonly StylePropertyDefinition<string, TableCellProperties> ThemeFillShadeProperty
Field Value
Style
|
ThemeFillTintProperty
Declaration
public static readonly StylePropertyDefinition<string, TableCellProperties> ThemeFillTintProperty
Field Value
Style
|
VerticalAlignmentProperty
Declaration
public static readonly StylePropertyDefinition<Nullable<RadVerticalAlignment>, TableCellProperties> VerticalAlignmentProperty
Field Value
Style
|
Properties
Background
Gets or sets the background.
Declaration
[XamlSerializable]
public Color Background { get; set; }
Property Value
System. The background. |
Borders
Gets or sets all the borders of a table cell.
Declaration
[XamlSerializable]
public TableCellBorders Borders { get; set; }
Property Value
Table The borders. |
ColumnSpan
Gets or sets the column span.
Declaration
[XamlSerializable]
public int ColumnSpan { get; set; }
Property Value
System. The column span. |
Exceptions
System. ColumnSpan must be at least 1. |
GridColumnIndex
Gets the index of the column inside the table grid.
Declaration
public int GridColumnIndex { get; }
Property Value
System. The index of the column. |
GridRowIndex
Gets the index of the row inside the table grid.
Declaration
public int GridRowIndex { get; }
Property Value
System. The index of the row. |
HasColumnSpan
Gets a value indicating whether this instance has column span.
Declaration
public bool HasColumnSpan { get; }
Property Value
System.
|
HasRowSpan
Gets a value indicating whether this instance has row span.
Declaration
public bool HasRowSpan { get; }
Property Value
System.
|
IsFirst
Gets a value indicating whether this is the first cell inside the Table
Declaration
public bool IsFirst { get; }
Property Value
System.
|
IsLast
Gets a value indicating whether this is the last cell inside the Table
Declaration
public bool IsLast { get; }
Property Value
System.
|
Padding
Gets or sets the padding.
Declaration
[XamlSerializable]
public Padding Padding { get; set; }
Property Value
Padding
The padding. |
PreferredWidth
Gets or sets the preferred width of the table cell.
Declaration
[XamlSerializable]
public TableWidthUnit PreferredWidth { get; set; }
Property Value
Table The preferred width. |
Row
Gets the parent table row.
Declaration
public TableRow Row { get; }
Property Value
Table The row. |
RowSpan
Gets or sets the row span.
Declaration
[XamlSerializable]
public int RowSpan { get; set; }
Property Value
System. The row span. |
Exceptions
System. RowSpan must be at least 1. |
TextAlignment
Gets or sets the text alignment.
Declaration
[XamlSerializable]
public RadTextAlignment TextAlignment { get; set; }
Property Value
Rad The text alignment. |
ThemeBackground
Gets or sets the theme background.
Declaration
[XamlSerializable]
public ThemeColorsEnum ThemeBackground { get; set; }
Property Value
Theme The theme background. |
ThemeFillShade
Gets or sets the theme fill shade.
Declaration
[XamlSerializable]
public string ThemeFillShade { get; set; }
Property Value
System. The theme fill shade. |
ThemeFillTint
Gets or sets the theme fill tint.
Declaration
[XamlSerializable]
public string ThemeFillTint { get; set; }
Property Value
System. The theme fill tint. |
VerticalAlignment
Gets or sets the vertical alignment.
Declaration
[XamlSerializable]
public RadVerticalAlignment VerticalAlignment { get; set; }
Property Value
Rad The vertical alignment. |
Methods
CopyPropertiesFromOverride(DocumentElement)
Copies the properties of a Table
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
Document The Table |
Overrides
CreateLayoutBox(DocumentStructureCollection)
Creates a new Table
Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
Document The document collection. |
Returns
Layout The new Table |
Overrides
CreateNewElementInstance()
Creates a new instance of Table
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
Document The new Table |
Overrides
OnParentChanged()
Called after the parent has been changed. Raises ParentChaned event.
Declaration
protected override void OnParentChanged()
Overrides
OnParentChanging()
Called just before the parent changes. Raises ParentChaning event.
Declaration
protected override void OnParentChanging()