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. |
None | A Snap |
#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.