DocumentProperties
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
Methods
Enumerates all style properties specific to document-level settings.
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
The style properties.
Overrides:
Retrieves the document-level style property matching the specified definition, or null if not applicable.
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
The property definition.
Returns:Overrides:
Properties
Gets the default spacing between automatic tab stops in device independent pixels (1/96 inch) when explicit tab stops are not defined.
public IStyleProperty<double?> DefaultTabStopWidth { get; }
The default width of the tab stop.
Gets a value indicating whether the document uses distinct headers and footers for even-numbered and odd-numbered pages.
public IStyleProperty<bool?> HasDifferentEvenOddPageHeadersFooters { get; }
Gets the suggested viewing mode for the document (e.g., PrintLayout, WebLayout, Normal).
public IStyleProperty<DocumentViewType?> ViewType { get; }