Back to Devexpress

RoundedSkinPanel.BorderStyle Property

windowsforms-devexpress-dot-xtraeditors-dot-roundedskinpanel-731bb2f5.md

latest2.2 KB
Original Source

RoundedSkinPanel.BorderStyle Property

Gets or sets the border style.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue(RoundedPanelBorderStyle.Default)]
[DXCategory("Appearance")]
public RoundedPanelBorderStyle BorderStyle { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(RoundedPanelBorderStyle.Default)>
Public Property BorderStyle As RoundedPanelBorderStyle

Property Value

TypeDefaultDescription
RoundedPanelBorderStyleDefault

The border style.

|

Available values:

NameDescription
Default

Displays rounded corners in the WXI skin and applies padding around the panel’s content. In other skins, the panel has rectangular corners without padding around its content.

| | Rectangular |

Displays rectangular corners regardless of the applied skin and removes padding around the panel’s content.

| | None |

Hides the border and removes padding.

| | NoBorder |

Hides the panel’s border but keeps padding around its content.

|

Remarks

The BorderStyle property specifies the panel’s border style. In the WXI skin, the panel has rounded corners ( default ).

Use the BorderVisibility property to hide specific borders (bottom, left, right, top) based on your UI preferences.

See Also

BorderVisibility

RoundedSkinPanel Class

RoundedSkinPanel Members

DevExpress.XtraEditors Namespace