Class DocumentProperties
Defines document-level settings for view type, tab stop width, and header/footer configuration. Use to control global document behavior and appearance.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class DocumentProperties : DocumentElementPropertiesBase, IElementWithStyle
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
|
IStyleProperty<System.Nullable<System.Double>>
The default width of the tab stop. |
HasDifferentEvenOddPageHeadersFooters
ViewType
Gets the suggested viewing mode for the document (e.g., PrintLayout, WebLayout, Normal).
Declaration
public IStyleProperty<DocumentViewType? > ViewType { get; }
Property Value
|
IStyleProperty<System.Nullable<DocumentViewType>>
|
Methods
EnumerateStyleProperties()
Enumerates all style properties specific to document-level settings.
Declaration
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
Returns
|
System.Collections.Generic.IEnumerable<IStyleProperty>
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
|
IStylePropertyDefinition
propertyDefinition
The property definition. |
Returns
|
IStyleProperty
|