Class
TableCellProperties

Represents the properties of a table cell, providing customization options for styling, borders, and other cell characteristics in a document model.

Definition

Namespace:Telerik.Windows.Documents.Model.Styles

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class TableCellProperties : DocumentElementPropertiesBase, IElementWithStyle

Inheritance: objectDocumentElementPropertiesBaseTableCellProperties

Implements: IElementWithStyle

Inherited Members DocumentElementPropertiesBase.GetStyleProperty(IStylePropertyDefinition)DocumentElementPropertiesBase.GetStyleProperty(string)DocumentElementPropertiesBase.CopyPropertiesFrom(DocumentElementPropertiesBase)DocumentElementPropertiesBase.MergePropertiesWith(DocumentElementPropertiesBase)DocumentElementPropertiesBase.ToString()DocumentElementPropertiesBase.ClearProperties()DocumentElementPropertiesBase.OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)DocumentElementPropertiesBase.OnStyleChanged()DocumentElementPropertiesBase.OnStyleChanging()DocumentElementPropertiesBase.ValidateStyleType(StyleDefinition)DocumentElementPropertiesBase.StylePropertiesDocumentElementPropertiesBase.StyleNameDocumentElementPropertiesBase.OriginalStyleNameDocumentElementPropertiesBase.StyleDocumentElementPropertiesBase.HasRevisionsDocumentElementPropertiesBase.RevisionInfoDocumentElementPropertiesBase.OriginalProperties

Constructors

TableCellProperties(DocumentElement)

Declaration

cs-api-definition
public TableCellProperties(DocumentElement owner)

Parameters

owner

DocumentElement

TableCellProperties(StyleDefinition)

Declaration

cs-api-definition
public TableCellProperties(StyleDefinition owner)

Parameters

owner

StyleDefinition

Properties

Background

Gets or sets the background properties of the table cell.

Declaration

cs-api-definition
[XamlSerializable]
public Color Background { get; set; }

Property Value

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

cs-api-definition
[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

cs-api-definition
[XamlSerializable]
public Padding Padding { get; set; }

Property Value

Padding

ThemeBackground

Gets or sets the theme background properties of the table cell.

Declaration

cs-api-definition
[XamlSerializable(ThemeColorsEnum.none)]
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

cs-api-definition
[XamlSerializable]
public string ThemeFillShade { get; set; }

Property Value

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

cs-api-definition
[XamlSerializable]
public string ThemeFillTint { get; set; }

Property Value

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

cs-api-definition
[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

cs-api-definition
protected override DocumentElementPropertiesBase CreateInstance()

Returns

DocumentElementPropertiesBase

Overrides DocumentElementPropertiesBase.CreateInstance()

InitProperties()

Declaration

cs-api-definition
protected override void InitProperties()

Overrides DocumentElementPropertiesBase.InitProperties()