BaseControl.BorderStyle Property

Gets or sets the control's border style.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Property Value

Type Default Description
BorderStyles

Default

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

Remarks

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