RepositoryItem.BorderStyle Property

Gets or sets the editor's border style.

Namespace: DevExpress.XtraEditors.Repository

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 editor's border style.

Remarks

Use the BorderStyle property to specify how the editor's border should be drawn. If the property value is BorderStyles.Default, the border's look and feel is specified by the editor's RepositoryItem.LookAndFeel property.

This property is synchronized with the editor's BaseEdit.BorderStyle property.

Changing the BorderStyle property value raises the RepositoryItem.PropertiesChanged event.

See Also