XtraForm.FormBorderEffect Property

Gets or sets the form's border effect.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

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

Property Value

Type Default Description
FormBorderEffect

Default

The form's border adornment effect.

Remarks

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 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