DocumentViewerBase.SelectedPageBorderColor Property
Specifies the color of borders around the selected page in DocumentViewer.
Namespace: DevExpress.DocumentView.Controls
Assembly: DevExpress.Utils.v25.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
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 borders that are drawn around the selected page in Document Viewer. The color is obtained from the current skin.
To change the width of the selected page’s borders, use the SelectedPageBorderWidth property.
To hide the selection around pages, set the PageBorderVisibility property to PageBorderVisibility.AllWithoutSelection.
Use Page Border Properties with Skins
In most modern themes, the appearance of borders is defined by the current skin. Most elements - including borders - are created with image tiles. Since all border changes are applied under the image tiles, border property changes are often overridden by the skin. No property assignment can modify this image — you can only create a skin patch and then load it at runtime. For example, you cannot customize page borders with the following DocumentViewerBase
properties:
If you want to change the border style, use Skin Editor’s PRINTING | Page section: Working in Skin Editor.