Class TableCellProperties
Defines a set of properties which can be applied to a TableCell element.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class TableCellProperties : DocumentElementPropertiesBase, IElementWithStyle, IPropertiesWithShading, IPropertiesWithPadding
Properties
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 borders.
Declaration
public IStyleProperty<TableCellBorders> Borders { get; }
Property Value
IStyleProperty<TableCellBorders>
The borders. |
CanWrapContent
Gets local style property used to get or set a value indicating whether the content can be wrapped during the table layout. This property cannot be derived from a style.
Declaration
public IStyleProperty<bool? > CanWrapContent { get; }
Property Value
IStyleProperty<System.Nullable<System.Boolean>>
The default value is |
ColumnSpan
Gets local style property used to get or set the column span. This property cannot be derived from a style.
Declaration
public IStyleProperty<int? > ColumnSpan { get; }
Property Value
IStyleProperty<System.Nullable<System.Int32>>
The default value is |
IgnoreCellMarkerInRowHeightCalculation
Gets local style property used to get or set a value indicating whether cell marker will be ignored when row height is calculated. This property cannot be derived from a style.
Declaration
public IStyleProperty<bool? > IgnoreCellMarkerInRowHeightCalculation { get; }
Property Value
IStyleProperty<System.Nullable<System.Boolean>>
The default value is |
Padding
Gets style property used to get or set the padding.
Declaration
public IStyleProperty<Padding> Padding { get; }
Property Value
IStyleProperty<Padding>
The table cell padding. |
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. |
RowSpan
Gets local style property used to get or set the row span. This property cannot be derived from a style.
Declaration
public IStyleProperty<int? > RowSpan { 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
TextDirection
Gets local style property used to get or set the text direction. This property cannot be derived from a style.
Declaration
public IStyleProperty<TextDirection> TextDirection { get; }
Property Value
IStyleProperty<TextDirection>
The text direction. |
VerticalAlignment
Gets local style property used to get or set the vertical alignment. This property cannot be derived from a style.
Declaration
public IStyleProperty<VerticalAlignment? > VerticalAlignment { get; }
Property Value
IStyleProperty<System.Nullable<VerticalAlignment>>
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. |