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

DocumentViewerBase.SelectedPageBorderWidth Property

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v18.2.dll

Declaration

[DXCategory("Appearance")]
public int SelectedPageBorderWidth { get; set; }
<DXCategory("Appearance")>
Public Property SelectedPageBorderWidth As Integer

Property Value

Type Description
Int32

An integer value, specifying the width of the selected page's borders.

Remarks

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

If you set the SelectedPageBorderWidth property to 0, the selected page's borders will look like the borders of pages that are not selected (defined by the DocumentViewerBase.PageBorderVisibility, DocumentViewerBase.PageBorderColor and DocumentViewerBase.PageBorderWidth properties).

To change the color of the selected page's borders, use the DocumentViewerBase.SelectedPageBorderColor property.

See Also