Class SectionProperties
Defines a set of properties which can be applied to a Section element.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class SectionProperties : DocumentElementPropertiesBase, IElementWithStyle
Properties
ChapterHeadingStyleIndex
Gets the index of the chapter heading style.
Declaration
public IStyleProperty<int? > ChapterHeadingStyleIndex { get; }
Property Value
IStyleProperty<System.Nullable<System.Int32>>
The index of the chapter heading style. |
ChapterSeparatorCharacter
Gets the chapter separator character that shall appear between the chapter heading style index and the page number.
Declaration
public IStyleProperty<ChapterSeparatorType? > ChapterSeparatorCharacter { get; }
Property Value
IStyleProperty<System.Nullable<ChapterSeparatorType>>
The chapter separator character. |
FooterBottomMargin
HasDifferentFirstPageHeaderFooter
HeaderTopMargin
Gets the header top margin property. The value is in device independent pixels (1/96 inch).
Declaration
public IStyleProperty<double? > HeaderTopMargin { get; }
Property Value
IStyleProperty<System.Nullable<System.Double>>
The header top margin property. |
PageMargins
Gets the page margins property.
Declaration
public IStyleProperty<Padding> PageMargins { get; }
Property Value
IStyleProperty<Padding>
The page margins property. |
PageNumberFormat
Gets the page number format for the page numbering in the current section.
Declaration
public IStyleProperty<NumberingStyle? > PageNumberFormat { get; }
Property Value
IStyleProperty<System.Nullable<NumberingStyle>>
The page number format. |
PageOrientation
Gets the page orientation property.
Declaration
public IStyleProperty<PageOrientation? > PageOrientation { get; }
Property Value
IStyleProperty<System.Nullable<PageOrientation>>
The page orientation. |
PageSize
Gets the page size property. The width and height are in device independent pixels (1/96 inch).
Declaration
public IStyleProperty<Size? > PageSize { get; }
Property Value
IStyleProperty<System.Nullable<System.Windows.Size>>
The page size property. |
SectionType
Gets the section type property.
Declaration
public IStyleProperty<SectionType? > SectionType { get; }
Property Value
IStyleProperty<System.Nullable<SectionType>>
The section type property. |
StartingPageNumber
Gets the starting page number.
This number appears on the first page of the section.
Declaration
public IStyleProperty<int? > StartingPageNumber { get; }
Property Value
IStyleProperty<System.Nullable<System.Int32>>
The starting page number. |
VerticalAlignment
Gets the vertical alignment property.
Declaration
public IStyleProperty<VerticalAlignment> VerticalAlignment { get; }
Property Value
IStyleProperty<VerticalAlignment>
The vertical alignment property. |
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
|