Back to Devexpress

DocumentViewerBase.BorderStyle Property

windowsforms-devexpress-dot-documentview-dot-controls-dot-documentviewerbase-ab71e4a3.md

latest1.8 KB
Original Source

DocumentViewerBase.BorderStyle Property

Specifies the border style of the DocumentViewer.

Namespace : DevExpress.DocumentView.Controls

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(BorderStyle.None)]
[DXCategory("Appearance")]
public BorderStyle BorderStyle { get; set; }
vb
<DefaultValue(BorderStyle.None)>
<DXCategory("Appearance")>
Public Property BorderStyle As BorderStyle

Property Value

TypeDefaultDescription
BorderStyleNone

One of the BorderStyle enumeration values, representing the border style.

|

Remarks

By default, a DocumentViewer is displayed without a border. You can use the BorderStyle property to make the boundaries of the Document Preview stand out relative to other parts of the form.

See Also

DocumentViewerBase Class

DocumentViewerBase Members

DevExpress.DocumentView.Controls Namespace