Class TableProperties
Defines a set of properties which can be applied to a Table element.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class TableProperties : DocumentElementPropertiesBase, IElementWithStyle, IPropertiesWithShading, IPropertiesWithPadding
Properties
Alignment
Gets style property used to get or set the alignment of the table.
Declaration
public IStyleProperty<Alignment? > Alignment { get; }
Property Value
IStyleProperty<System.Nullable<Alignment>>
The default value is |
BackgroundColor
Gets style property used to get or set the color of the background.
Declaration
public IStyleProperty<ThemableColor> BackgroundColor { get; }
Property Value
IStyleProperty<ThemableColor>
The color of the background. |
Implements
Borders
Gets style property used to get or set the top border.
Declaration
public IStyleProperty<TableBorders> Borders { get; }
Property Value
IStyleProperty<TableBorders>
The top border. |
ColumnBanding
Gets style property used to get or set the number of banded columns.
Declaration
public IStyleProperty<int? > ColumnBanding { get; }
Property Value
IStyleProperty<System.Nullable<System.Int32>>
The default value is |
FlowDirection
Gets local style property used to get or set the flow direction of cells inside the table. This property cannot be derived from a style.
Declaration
public IStyleProperty<FlowDirection? > FlowDirection { get; }
Property Value
IStyleProperty<System.Nullable<FlowDirection>>
The default value is |
Indent
Gets style property used to get or set a value which shall be added before the leading edge of the table. The value is in device independent pixels (1/96 inch).
Declaration
public IStyleProperty<double? > Indent { get; }
Property Value
IStyleProperty<System.Nullable<System.Double>>
The default value is |
LayoutType
Gets local style property used to get or set a value indicating which algorithm shall be used to lay out the content of the table. This property cannot be derived from a style.
Declaration
public IStyleProperty<TableLayoutType? > LayoutType { get; }
Property Value
IStyleProperty<System.Nullable<TableLayoutType>>
The default value is |
Looks
Gets local style property used to get or set the value indicating which components of the conditional style should be applied if such exists. This property cannot be derived from a style.
Declaration
public IStyleProperty<TableLooks? > Looks { get; }
Property Value
IStyleProperty<System.Nullable<TableLooks>>
The default value is |
Overlap
Gets local style property used to get or set a value indicating whether this floating table shall allow other floating tables to overlap its extents. This property cannot be derived from a style.
Declaration
public IStyleProperty<bool? > Overlap { get; }
Property Value
IStyleProperty<System.Nullable<System.Boolean>>
The default value is |
PreferredWidth
Gets local style property used to get or set the preferred width. This property cannot be derived from a style.
Declaration
public IStyleProperty<TableWidthUnit> PreferredWidth { get; }
Property Value
IStyleProperty<TableWidthUnit>
The preferred width. |
RowBanding
Gets style property used to get or set the number of banded rows.
Declaration
public IStyleProperty<int? > RowBanding { get; }
Property Value
IStyleProperty<System.Nullable<System.Int32>>
The default value is |
ShadingPattern
Gets style property used to get or set a value indicating the pattern which shall be used to lay the pattern color over the background color for this shading.
Declaration
public IStyleProperty<ShadingPattern? > ShadingPattern { get; }
Property Value
IStyleProperty<System.Nullable<ShadingPattern>>
The default value is |
Implements
ShadingPatternColor
Gets style property used to get or set a value indicating the color for any foreground pattern used in this shading.
Declaration
public IStyleProperty<ThemableColor> ShadingPatternColor { get; }
Property Value
IStyleProperty<ThemableColor>
The color of the pattern. |
Implements
TableCellPadding
Gets style property used to get or set default padding of the cells inside the table.
Declaration
public IStyleProperty<Padding> TableCellPadding { get; }
Property Value
IStyleProperty<Padding>
The table cell padding. |
TableCellSpacing
Gets style property used to get or set a value indicating the spacing between adjacent cells and the edges of the table. The value is in device independent pixels (1/96 inch).
Declaration
public IStyleProperty<double? > TableCellSpacing { get; }
Property Value
IStyleProperty<System.Nullable<System.Double>>
The default value is |
Methods
EnumerateStyleProperties()
Enumerates the style properties.
Declaration
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
Returns
System.Collections.Generic.IEnumerable<IStyleProperty>
The style properties. |
Overrides
GetStylePropertyOverride(IStylePropertyDefinition)
Gets specific style property or null.
Declaration
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
Parameters
IStylePropertyDefinition
propertyDefinition
The property definition. |
Returns
IStyleProperty
|
Overrides
Explicit Interface Implementations
IPropertiesWithShading.Document
Gets the document.
Declaration
RadFlowDocument IPropertiesWithShading.Document { get; }
Returns
RadFlowDocument
The document. |