Skip to main content

XtraForm.FormBorderEffect Property

Gets or sets the form’s border effect.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v22.2.dll

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


public FormBorderEffect FormBorderEffect { get; set; }

Property Value

Type Default Description
FormBorderEffect Default

The form’s border adornment effect.

Available values:

Name Description

No adorning effect.


The default border adorning effect, applied as follows:

For the XtraForm, a shadow is displayed in the “McSkin” skin. No adorning effect is applied in other skins.

For the RibbonForm, a shadow is displayed in the following skins: “Office 2013”, “Office 2013 Dark Gray”, “Office 2013 Light Gray”, and “McSkin”. No adorning effect is applied in other skins.


Displays a shadow around the form.


A glow effect. The default colors can be changed via the XtraForm.ActiveGlowColor and XtraForm.InactiveGlowColor properties.


The FormBorderEffect property allows you to apply a shadow and glow effects to the form’s border.

Border effects are not applied when the form uses the system border style. This occurs in the following cases:

  • You call the WindowsFormsSettings.DisableFormSkins method, which disables title bar and border skinning, and enables the system border style.
  • You set the form’s ControlBox property to false and the Text property to an empty string. The border effects are applied in this case if you set the FormBorderStyle property to None.

Custom form border effects are also disabled in Windows 11. In this OS version, all forms and dialogs display native Windows 11 shadows.

See Also