New to Telerik UI for WPFStart a free 30-day trial

Represents the properties associated with a table in a document.

Definition

Constructors

C#
public TableProperties(DocumentElement owner)
Parameters:ownerDocumentElement
C#
public TableProperties(StyleDefinition owner)
Parameters:ownerStyleDefinition

Properties

Gets or sets the background properties of the table.

C#
[XamlSerializable]
public Color Background { get; set; }
Property Value:

The background properties that define the appearance of the table's background.

Gets or sets the borders of the table properties.

C#
[XamlSerializable]
public TableBorders Borders { get; set; }

Gets or sets the padding for the cells in the table.

C#
[XamlSerializable]
public Padding CellPadding { get; set; }

Gets or sets the amount of space between cells in a table.

C#
[XamlSerializable]
public double CellSpacing { get; set; }
Property Value:

A double representing the spacing between cells. The default value is 0.

Gets or sets the number of column groups in a table.

C#
[XamlSerializable]
public int ColumnBandSize { get; set; }
Property Value:

The size of the column band.

FlowDirection

FlowDirection

Gets or sets the flow direction of the table properties, which determines how text and content flow within the table.

C#
[XamlSerializable]
public FlowDirection FlowDirection { get; set; }

Gets or sets the horizontal alignment of the table.

C#
[XamlSerializable]
public RadHorizontalAlignment HorizontalAlignment { get; set; }

Gets or sets the layout mode of the table properties.

C#
[XamlSerializable]
public TableLayoutMode LayoutMode { get; set; }

Gets or sets the preferred width of the table.

C#
[XamlSerializable]
public TableWidthUnit PreferredWidth { get; set; }

Gets or sets the size of the row banding for the table properties.

C#
[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.

Gets or sets the indentation for the table in its containing element.

C#
[XamlSerializable]
public double TableIndent { get; set; }
Property Value:

A double value representing the indentation of the table. The default value is 0.0.

Gets or sets the look and feel of the table, specifying its visual appearance and style properties.

C#
[XamlCompositePropertySerializable]
public TableLook TableLook { get; set; }

Gets or sets the theme background properties of the table.

C#
[XamlSerializable(ThemeColorsEnum.none)]
public ThemeColorsEnum ThemeBackground { get; set; }
Property Value:

The theme background properties applied to the table.

Gets or sets the theme fill shade for the table properties.

C#
[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.

Gets or sets the tint applied to the theme fill of the table properties.

C#
[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

C#
protected override DocumentElementPropertiesBase CreateInstance()
Returns:

DocumentElementPropertiesBase

Overrides: DocumentElementPropertiesBase.CreateInstance()

C#
protected override void InitProperties()

Overrides: DocumentElementPropertiesBase.InitProperties()

C#
protected override void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters:argsStylePropertyChangeEventArgs

Overrides: DocumentElementPropertiesBase.OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)

C#
protected override void ValidateStyleType(StyleDefinition value)
Parameters:valueStyleDefinition

Overrides: DocumentElementPropertiesBase.ValidateStyleType(StyleDefinition)