Class CharacterProperties
Defines a set of properties which can be applied to a Run element.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class CharacterProperties : DocumentElementPropertiesBase, IElementWithStyle, IPropertiesWithShading
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
BaselineAlignment
Gets style property used to get or set the baseline alignment.
Declaration
public IStyleProperty<BaselineAlignment? > BaselineAlignment { get; }
Property Value
IStyleProperty<System.Nullable<BaselineAlignment>>
The default value is |
FlowDirection
Gets style property used to get or set the flow direction.
Declaration
public IStyleProperty<FlowDirection? > FlowDirection { get; }
Property Value
IStyleProperty<System.Nullable<FlowDirection>>
The default value is |
FontFamily
Gets style property used to get or set the font family.
Declaration
public IStyleProperty<ThemableFontFamily> FontFamily { get; }
Property Value
IStyleProperty<ThemableFontFamily>
The font family. |
FontSize
Gets style property used to get or set the size of the font. The value is in device independent pixels (1/96 inch).
Declaration
public IStyleProperty<double? > FontSize { get; }
Property Value
IStyleProperty<System.Nullable<System.Double>>
The size of the font. |
FontStyle
Gets style property used to get or set the font style.
Declaration
public IStyleProperty<FontStyle? > FontStyle { get; }
Property Value
IStyleProperty<System.Nullable<System.Windows.FontStyle>>
The default value is |
FontWeight
Gets style property used to get or set the font weight.
Declaration
public IStyleProperty<FontWeight? > FontWeight { get; }
Property Value
IStyleProperty<System.Nullable<System.Windows.FontWeight>>
The default value is |
ForegroundColor
Gets style property used to get or set the foreground color.
Declaration
public IStyleProperty<ThemableColor> ForegroundColor { get; }
Property Value
IStyleProperty<ThemableColor>
The default value is |
HighlightColor
Gets style property used to get or set the color of the highlight.
Declaration
public IStyleProperty<Color? > HighlightColor { get; }
Property Value
IStyleProperty<System.Nullable<System.Windows.Media.Color>>
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
Strikethrough
Gets style property used to get or set the strikethrough.
Declaration
public IStyleProperty<bool? > Strikethrough { get; }
Property Value
IStyleProperty<System.Nullable<System.Boolean>>
The default value is |
UnderlineColor
Gets style property used to get or set the color for the underlining.
Declaration
public IStyleProperty<ThemableColor> UnderlineColor { get; }
Property Value
IStyleProperty<ThemableColor>
The color. |
UnderlinePattern
Gets style property used to get or set a value indicating the pattern which shall be used to create the underlining applied beneath the text.
Declaration
public IStyleProperty<UnderlinePattern? > UnderlinePattern { get; }
Property Value
IStyleProperty<System.Nullable<UnderlinePattern>>
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. |