Skip to main content

WindowsFormsSettings.MdiFormThickBorder Property

Gets or sets whether all child MDI XtraForm and RibbonForm forms in the application should display increased borders.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

public static bool MdiFormThickBorder { get; set; }

Property Value

Type Description
Boolean

true, to display thick borders; otherwise, false.

Remarks

In modern flat skins like “Office 2019 Colorful”, DevExpress forms have thin borders. This may be inconvenient for users, since when they try to resize a form they have to aim for those thin borders with a mouse pointer. To improve user experience, the resize area of DevExpress forms includes both borders and form shadow\glow skin element. This allows a user to resize a form when a pointer hovers over the form shadow.

In certain cases, forms cannot display shadows.

  • When you manually disable the XtraForm.FormBorderEffect property.
  • When forms are child MDI forms.
  • When a user accesses the application through a Remote Desktop connection.

image

In these cases, you can increase form borders to broaden the resize area.

image

To do that, enable either the WindowsFormsSettings.FormThickBorder or MdiFormThickBorder property depending on whether you want to increase borders for all DevExpress forms, or only those that serve as child MDI forms.

Use the WindowsFormsSettings.ThickBorderWidth property to change the thick borders’ width.

See Also