TableCellProperties
Holds the style-backed formatting values for a table cell.
Definition
Namespace:Telerik.WinForms.Documents.Model.Styles
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class TableCellProperties : DocumentElementPropertiesBase, IElementWithStyle
Inheritance: objectDocumentElementPropertiesBaseTableCellProperties
Implements:
Inherited Members
Constructors
Creates cell properties associated with a document element.
public TableCellProperties(DocumentElement owner)
The document element whose cell properties are represented.
Creates cell properties associated with a style definition.
public TableCellProperties(StyleDefinition owner)
The style definition that owns these properties.
Properties
Gets or sets the explicit cell fill. Changing it while a theme background is active clears the theme color, shade, and tint.
[XamlSerializable]
public Color Background { get; set; }
Gets or sets the cell's edge borders; inherited edges are resolved from the table's border settings.
[XamlSerializable]
public TableCellBorders Borders { get; set; }
Gets or sets the inset between the cell's content and its borders.
[XamlSerializable]
public Padding Padding { get; set; }
Gets or sets the theme palette color used for the cell fill. Changing an active theme fill to an explicit Background clears this value and its shade and tint.
[XamlSerializable(ThemeColorsEnum.none)]
public ThemeColorsEnum ThemeBackground { get; set; }
Gets or sets the shade metadata for the theme-based cell fill.
[XamlSerializable]
public string ThemeFillShade { get; set; }
Gets or sets the tint metadata for the theme-based cell fill.
[XamlSerializable]
public string ThemeFillTint { get; set; }
Gets or sets the vertical placement of content within the cell.
[XamlSerializable]
public RadVerticalAlignment VerticalAlignment { get; set; }
Methods
Creates another property set associated with the current document element.
protected override DocumentElementPropertiesBase CreateInstance()
A new TableCellProperties instance.
Overrides:
Connects each cell property to the corresponding table-cell style property.
protected override void InitProperties()
Overrides: