Skip to main content

DocumentViewerBase.ShowPageMargins Property

Specifies whether or not the DocumentViewer shows page margin lines.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v22.1.dll


public bool ShowPageMargins { get; set; }

Property Value

Type Default Description


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