ClassDocumentProperties
Defines document-level settings for view type, tab stop width, and header/footer configuration. Use to control global document behavior and appearance.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Styles
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public sealed class DocumentProperties : DocumentElementPropertiesBase, IElementWithStyle
Inheritance: objectDocumentElementPropertiesBaseDocumentProperties
Implements:
Inherited Members
Properties
DefaultTabStopWidth
Gets the default spacing between automatic tab stops in device independent pixels (1/96 inch) when explicit tab stops are not defined.
Declaration
public IStyleProperty<double?> DefaultTabStopWidth { get; }
Property Value
The default width of the tab stop.
HasDifferentEvenOddPageHeadersFooters
Gets a value indicating whether the document uses distinct headers and footers for even-numbered and odd-numbered pages.
Declaration
public IStyleProperty<bool?> HasDifferentEvenOddPageHeadersFooters { get; }
Property Value
ViewType
Gets the suggested viewing mode for the document (e.g., PrintLayout, WebLayout, Normal).
Declaration
public IStyleProperty<DocumentViewType?> ViewType { get; }
Property Value
Methods
EnumerateStyleProperties()
Enumerates all style properties specific to document-level settings.
Declaration
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
Returns
The style properties.
Overrides
GetStylePropertyOverride(IStylePropertyDefinition)
Retrieves the document-level style property matching the specified definition, or null if not applicable.
Declaration
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
Parameters
propertyDefinition
The property definition.
Returns
Overrides