Back to Devexpress

DocumentViewerBase.ShowPageMargins Property

windowsforms-devexpress-dot-documentview-dot-controls-dot-documentviewerbase-2a64ba98.md

latest1.6 KB
Original Source

DocumentViewerBase.ShowPageMargins Property

Specifies whether or not the DocumentViewer shows page margin lines.

Namespace : DevExpress.DocumentView.Controls

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Printing")]
public bool ShowPageMargins { get; set; }
vb
<DXCategory("Printing")>
<DefaultValue(True)>
Public Property ShowPageMargins As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

DocumentViewerBase Class

DocumentViewerBase Members

DevExpress.DocumentView.Controls Namespace