Class TableCellProperties
Represents the properties of a table cell, providing customization options for styling, borders, and other cell characteristics in a document model.
Inherited Members
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class TableCellProperties : DocumentElementPropertiesBase, IElementWithStyle
Constructors
TableCellProperties()
Declaration
public TableCellProperties()
TableCellProperties(DocumentElement)
TableCellProperties(StyleDefinition)
Properties
Background
Gets or sets the background properties of the table cell.
Declaration
[XamlSerializable]
public Color Background { get; set; }
Property Value
System.Windows.Media.Color
An object representing the background settings for the table cell, which can include color, image, and other background rendering options. |
Borders
Gets or sets the borders of the table cell properties.
Declaration
[XamlSerializable]
public TableCellBorders Borders { get; set; }
Property Value
TableCellBorders
A collection of border settings that define the appearance of the cell borders. |
Padding
Gets or sets the padding inside the table cell, which defines the space between the cell content and the cell border.
Declaration
[XamlSerializable]
public Padding Padding { get; set; }
Property Value
Padding
|
ThemeBackground
Gets or sets the theme background properties of the table cell.
Declaration
[XamlSerializable]
public ThemeColorsEnum ThemeBackground { get; set; }
Property Value
ThemeColorsEnum
The theme background properties applied to the table cell. |
ThemeFillShade
Gets or sets the theme fill shade of the table cell properties.
Declaration
[XamlSerializable]
public string ThemeFillShade { get; set; }
Property Value
System.String
A value representing the theme fill shade, which determines the color and shading of the cell. |
ThemeFillTint
Gets or sets the tint applied to the theme fill of the table cell properties.
Declaration
[XamlSerializable]
public string ThemeFillTint { get; set; }
Property Value
System.String
A double value representing the tint percentage applied to the theme fill, where 0.0 indicates no tint and 1.0 indicates full tint. The value should be within the range of 0.0 to 1.0. |
VerticalAlignment
Gets or sets the vertical alignment of the content within the table cell.
Declaration
[XamlSerializable]
public RadVerticalAlignment VerticalAlignment { get; set; }
Property Value
RadVerticalAlignment
A value indicating the vertical alignment of the cell's content. Possible values include top, middle, bottom, or baseline. |
Methods
CreateInstance()
Declaration
protected override DocumentElementPropertiesBase CreateInstance()
Returns
DocumentElementPropertiesBase
|
Overrides
InitProperties()
Declaration
protected override void InitProperties()