BaseControl.BorderStyle Property

Gets or sets the control's border style.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll


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

Property Value

Type Default Description


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


If the BorderStyles property is set to BorderStyles.Default, the border style is controlled by the BaseControl.LookAndFeel property.

To specify an editor's border style, you can also use the RepositoryItem.BorderStyle property of the editor's repository item object available via the BaseEdit.Properties property. The RepositoryItem.BorderStyle property value is synchronized with the BorderStyle property value.

See Also