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.v20.1.dll

Declaration

[DefaultValue(SnapMode.None)]
public static SnapMode CustomizationFormSnapMode { get; set; }
<DefaultValue(SnapMode.None)>
Public Shared Property CustomizationFormSnapMode As SnapMode

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