Skip to main content

DocumentViewerBase.ShowPageMargins Property

Specifies whether or not the DocumentViewer shows page margin lines.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(true)]
[DXCategory("Printing")]
public bool ShowPageMargins { get; set; }

Property Value

Type Default Description
Boolean true

true to show page margin lines; otherwise false.

Remarks

The page margin lines are the dotted lines shown on the currently selected page.

Use this property to change the visibility of these lines in a Document Viewer and prevent them from being altered via the mouse.

See Also