Skip to main content
All docs
V24.2

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

BaseOptionsCustomization.CustomizationFormSnapMode Property

Gets or sets whether the Customization Form can automatically snap to specific targets.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#Declaration

[XtraSerializableProperty]
public SnapMode CustomizationFormSnapMode { get; set; }

#Property Value

Type Description
DevExpress.Utils.Controls.SnapMode

Specifies whether the Customization Form can automatically snap to specific targets.

#Property Paths

You can access this nested property as listed below:

Object Type Path to CustomizationFormSnapMode
VGridControlBase
.OptionsCustomization .CustomizationFormSnapMode

#Remarks

The CustomizationFormSnapMode property accepts one or multiple values of the SnapMode enumeration. Each value allows the Customization Form to snap to specific targets when users drag this form at runtime.

  • OwnerControl – Customization Form snaps to a parent control (not a form) that owns this VGridControl component.
  • OwnerForm – Customization Form snaps to the owner form’s bounds.
  • Screens – Customization Form snaps to screen edges.
  • SnapForms – Customization Form snaps to sticky windows.
  • All – Customization Form snaps to any available target mentioned above.
  • None – Customization Form does not snap.

See the Snap Window Behavior article to learn how to implement window snapping for controls that do not support it out-of-the-box.

See Also