Skip to main content

DocumentViewerBase.PageBorderWidth Property

Specifies the width of the borders around all pages in the DocumentViewer.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

[DXCategory("Appearance")]
public int PageBorderWidth { get; set; }

Property Value

Type Description
Int32

An integer value, specifying the width of the page borders.

Remarks

Use the PageBorderWidth property to change the look of page borders in a Document Viewer. By default, their width is obtained from the current skin.

If you set the PageBorderWidth property to 0, the page borders will be completely hidden.

To change the color of the page borders, use the DocumentViewerBase.PageBorderColor property.

See Also