A newer version of this page is available. Switch to the current version.

DocumentViewerBase.SelectedPageBorderColor Property

Specifies the color of borders around the currently selected page in the DocumentViewer.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v18.2.dll


public Color SelectedPageBorderColor { get; set; }
Public Property SelectedPageBorderColor As Color

Property Value

Type Description

A Color structure, specifying the border color of the selected page.


Use the SelectedPageBorderColor property to change the look of the borders that are drawn around the selected page in a Document Viewer. By default, their color is obtained from the current skin.

To change the width of the selected page's borders, use the DocumentViewerBase.SelectedPageBorderWidth property.

To hide the selection around pages, set the DocumentViewerBase.PageBorderVisibility property to PageBorderVisibility.AllWithoutSelection.

See Also