Skip to main content

WindowsFormsSettings.CustomizationFormSnapMode Property

Gets or sets whether or not customization forms can stick to each other, parent forms or screen edges.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

[DefaultValue(SnapMode.None)]
public static SnapMode CustomizationFormSnapMode { get; set; }

Property Value

Type Default Description
DevExpress.Utils.Controls.SnapMode None

A SnapMode enumerator value that specifies whether or not dock panels can stick to each other, parent forms or screen edges.

Remarks

The CustomizationFormSnapMode property accepts one or multiple values of the SnapMode enumerator. Each value allows customization forms to snap to specific targets when end-users drag these panels at runtime.

  • OwnerControl- customization forms snap to a parent control (not a form) that owns these forms’ parent components.
  • OwnerForm- customization forms snap to the owner form’s bounds.
  • Screens- customization forms snap to screen edges.
  • SnapForms- customization forms snap to each other and sticky windows.
  • All- customization forms snap to any available target mentioned above.
  • None- customization forms do not snap.
See Also