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.SelectedPageBorderColor Property

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[DXCategory("Appearance")]
public Color SelectedPageBorderColor { get; set; }

#Property Value

Type Description
Color

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

#Remarks

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