RepositoryItem.BorderStyle Property
Gets or sets the editor’s border style.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[DefaultValue(BorderStyles.Default)]
[DXCategory("Appearance")]
public virtual BorderStyles BorderStyle { get; set; }
Property Value
Type | Default | Description |
---|---|---|
BorderStyles | Default | A BorderStyles enumeration value specifying the editor’s border style. |
Available values:
Name | Description |
---|---|
NoBorder | No border. |
Simple | Flat border. |
Flat | Deprecated. Borders are flat. |
HotFlat | Deprecated. Flat border. The border and the client area are highlighted when the cursor hovers the editor. |
UltraFlat | Deprecated. Flat border in the Office XP style. Border and the client area are highlighted when the mouse pointer hovers the editor; otherwise, no border. |
Style3D | Deprecated. Three-dimensional border. |
Office2003 | Deprecated. Office 2003-style border. |
Default | The default border style depends on the application skin. |
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the BorderStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.