Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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