PanelControl.BorderStyle Property

Gets or sets the panel's border style.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll


public BorderStyles BorderStyle { get; set; }
Public Property BorderStyle As BorderStyles

Property Value

Type Description

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


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