Class TableProperties
Represents the properties associated with a table in a document.
Inherited Members
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class TableProperties : DocumentElementPropertiesBase, IElementWithStyle
Constructors
TableProperties()
Declaration
public TableProperties()
TableProperties(DocumentElement)
TableProperties(StyleDefinition)
Properties
Background
Gets or sets the background properties of the table.
Declaration
[XamlSerializable]
public Color Background { get; set; }
Property Value
System.Windows.Media.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
TableBorders
|
CellPadding
Gets or sets the padding for the cells in the table.
Declaration
[XamlSerializable]
public Padding CellPadding { get; set; }
Property Value
Padding
|
CellSpacing
Gets or sets the amount of space between cells in a table.
Declaration
[XamlSerializable]
public double CellSpacing { get; set; }
Property Value
System.Double
A System.Double representing the spacing between cells. The default value is 0. |
ColumnBandSize
Gets or sets the number of column groups in a table.
Declaration
[XamlSerializable]
public int ColumnBandSize { get; set; }
Property Value
System.Int32
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
System.Windows.FlowDirection
|
HorizontalAlignment
Gets or sets the horizontal alignment of the table.
Declaration
[XamlSerializable]
public RadHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
RadHorizontalAlignment
|
LayoutMode
Gets or sets the layout mode of the table properties.
Declaration
[XamlSerializable]
public TableLayoutMode LayoutMode { get; set; }
Property Value
TableLayoutMode
|
PreferredWidth
Gets or sets the preferred width of the table.
Declaration
[XamlSerializable]
public TableWidthUnit PreferredWidth { get; set; }
Property Value
TableWidthUnit
|
RowBandSize
Gets or sets the size of the row banding for the table properties.
Declaration
[XamlSerializable]
public int RowBandSize { get; set; }
Property Value
System.Int32
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
System.Double
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
TableLook
|
ThemeBackground
Gets or sets the theme background properties of the table.
Declaration
[XamlSerializable]
public ThemeColorsEnum ThemeBackground { get; set; }
Property Value
ThemeColorsEnum
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
System.String
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
System.String
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
DocumentElementPropertiesBase
|
Overrides
InitProperties()
Declaration
protected override void InitProperties()
Overrides
OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)
Declaration
protected override void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters
StylePropertyChangeEventArgs
args
|
Overrides
ValidateStyleType(StyleDefinition)
Declaration
protected override void ValidateStyleType(StyleDefinition value)
Parameters
StyleDefinition
value
|