Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentViewerBase.ShowPageMargins Property

Specifies whether or not the DocumentViewer shows page margin lines.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v24.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