Skip to main content

DocumentViewerBase.PageBorderColor Property

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v25.1.dll

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

Declaration

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

Property Value

Type Description
Color

A Color structure that specifies the color of page borders.

Remarks

Use the PageBorderColor property to change how the page borders look. The color is obtained from the current skin. To change the page border width, use the PageBorderWidth property.

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

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:s

If you want to change the border style, use Skin Editor’s PRINTING | Page section: Working in Skin Editor.

See Also