Back to Devexpress

WindowsFormsSettings.CustomizationFormSnapMode Property

windowsforms-devexpress-dot-xtraeditors-dot-windowsformssettings-f3276c48.md

latest2.6 KB
Original Source

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

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

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.Utils.Controls.SnapModeNone

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

TreeListOptionsCustomization.CustomizationFormSnapMode

GridOptionsCustomization.CustomizationFormSnapMode

PivotGridOptionsCustomizationEx.CustomizationFormSnapMode

WindowsFormsSettings Class

WindowsFormsSettings Members

DevExpress.XtraEditors Namespace