PanelControl.BorderStyle Property

Gets or sets the panel's border style.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DXCategory("Appearance")]
public BorderStyles BorderStyle { get; set; }
<DXCategory("Appearance")>
Public Property BorderStyle As BorderStyles

Property Value

Type Description
BorderStyles

A BorderStyles enumeration value specifying the panel's border style.

Remarks

If the BorderStyle property is set to the BorderStyles.Default value, the panel's border style is controlled by its look and feel settings. The panel's look and feel settings can be accessed via its XtraScrollableControl.LookAndFeel inherited property.

If the BorderStyle property is set to BorderStyles.NoBorder and no background color is explicitly assigned to the panel via the PanelControl.BackColor property, the panel's background will be transparent.

See Also