BaseButton.BorderStyle Property
Gets or sets the border style of the button control.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v21.1.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation
Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override BorderStyles BorderStyle { get; set; }
Property Value
Type | Description |
---|---|
BorderStyles | A BorderStyles enumeration member specifying the border style of the button. |
Available values:
Name | Description |
---|---|
NoBorder | No border. |
Simple | Flat border. |
Flat | Borders are flat. |
HotFlat | Flat border. The border and the client area are highlighted when the cursor hovers the editor. |
UltraFlat | 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 | Three-dimensional border. |
Office2003 | Office 2003-style border. |
Default | The default border style depends on the application skin. |
Remarks
The BorderStyle property overrides the base class property to hide it at design time. It is not recommended to use this property to change the button’s appearance. Instead, use the BaseButton.ButtonStyle property. Note that these properties are synchronized.