ClassTableProperties
Represents the properties associated with a table in a document.
Definition
Namespace:Telerik.Windows.Documents.Model.Styles
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class TableProperties : DocumentElementPropertiesBase, IElementWithStyle
Inheritance: objectDocumentElementPropertiesBaseTableProperties
Implements:
Inherited Members
Constructors
TableProperties(DocumentElement)
Declaration
public TableProperties(DocumentElement owner)
Parameters
owner
TableProperties(StyleDefinition)
Declaration
public TableProperties(StyleDefinition owner)
Parameters
owner
Properties
Background
Gets or sets the background properties of the table.
Declaration
[XamlSerializable]
public Color Background { get; set; }
Property Value
Color
The background properties that define the appearance of the table's background.
Borders
Gets or sets the borders of the table properties.
Declaration
[XamlSerializable]
public TableBorders Borders { get; set; }
Property Value
CellPadding
Gets or sets the padding for the cells in the table.
Declaration
[XamlSerializable]
public Padding CellPadding { get; set; }
Property Value
CellSpacing
Gets or sets the amount of space between cells in a table.
ColumnBandSize
Gets or sets the number of column groups in a table.
Declaration
[XamlSerializable]
public int ColumnBandSize { get; set; }
Property Value
The size of the column band.
FlowDirection
Gets or sets the flow direction of the table properties, which determines how text and content flow within the table.
Declaration
[XamlSerializable]
public FlowDirection FlowDirection { get; set; }
Property Value
FlowDirection
HorizontalAlignment
Gets or sets the horizontal alignment of the table.
Declaration
[XamlSerializable]
public RadHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
LayoutMode
Gets or sets the layout mode of the table properties.
Declaration
[XamlSerializable]
public TableLayoutMode LayoutMode { get; set; }
Property Value
PreferredWidth
Gets or sets the preferred width of the table.
Declaration
[XamlSerializable]
public TableWidthUnit PreferredWidth { get; set; }
Property Value
RowBandSize
Gets or sets the size of the row banding for the table properties.
Declaration
[XamlSerializable]
public int RowBandSize { get; set; }
Property Value
The number of rows that are included in each band. A value of 1 indicates that each row is a separate band, while a greater value indicates that multiple rows share the same banding.
TableIndent
Gets or sets the indentation for the table in its containing element.
Declaration
[XamlSerializable]
public double TableIndent { get; set; }
Property Value
A double value representing the indentation of the table. The default value is 0.0.
TableLook
Gets or sets the look and feel of the table, specifying its visual appearance and style properties.
Declaration
[XamlCompositePropertySerializable]
public TableLook TableLook { get; set; }
Property Value
ThemeBackground
Gets or sets the theme background properties of the table.
Declaration
[XamlSerializable(ThemeColorsEnum.none)]
public ThemeColorsEnum ThemeBackground { get; set; }
Property Value
The theme background properties applied to the table.
ThemeFillShade
Gets or sets the theme fill shade for the table properties.
Declaration
[XamlSerializable]
public string ThemeFillShade { get; set; }
Property Value
A value representing the theme fill shade applied to the table. This property accepts a shade value that determines the appearance of the table's background in a themed context.
ThemeFillTint
Gets or sets the tint applied to the theme fill of the table properties.
Declaration
[XamlSerializable]
public string ThemeFillTint { get; set; }
Property Value
A double value representing the tint level applied to the theme fill, where 0.0 represents no tint and 1.0 represents full tint.
Methods
CreateInstance()
Declaration
protected override DocumentElementPropertiesBase CreateInstance()
Returns
Overrides
InitProperties()
Declaration
protected override void InitProperties()
Overrides
OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)
Declaration
protected override void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters
args
Overrides
ValidateStyleType(StyleDefinition)
Declaration
protected override void ValidateStyleType(StyleDefinition value)
Parameters
value
Overrides