Skip to main content

DocumentViewerBase.PageBorderColor Property

Specifies the color used to draw borders around all pages in the DocumentViewer.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v22.1.dll


public Color PageBorderColor { get; set; }

Property Value

Type Description

A Color structure that specifies the color of page borders.


Use the PageBorderColor property to change how the page borders look. By default, their color is obtained from the current skin. To change the width of the page borders, use the DocumentViewerBase.PageBorderWidth property.

To completely hide the page borders, set the DocumentViewerBase.PageBorderVisibility property to None.

See Also