FormBorderEffect Enum

Enumerates border effects for forms and dialogs.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public enum FormBorderEffect
Public Enum FormBorderEffect

Members

Name Description
None

No adorning effect.

Default

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.

Shadow

Displays a shadow around the form.

Glow

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

Related API Members

The following properties accept/return FormBorderEffect values:

Remarks

Border effects are not applied when the form uses the system border style. This takes place 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. Nevertheless, the border effects are applied in this case if you set the FormBorderStyle property to None.
See Also