Skip to main content

DocumentViewerBase.ShowPageMargins Property

Specifies whether or not the DocumentViewer shows page margin lines.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v24.1.dll

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


public bool ShowPageMargins { get; set; }

Property Value

Type Default Description
Boolean true

true to show page margin lines; otherwise false.


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