Back to Devexpress

PivotGridOptionsCustomizationEx.CustomizationFormSnapMode Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionscustomizationex-ca219697.md

latest3.0 KB
Original Source

PivotGridOptionsCustomizationEx.CustomizationFormSnapMode Property

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
[XtraSerializableProperty]
public SnapMode CustomizationFormSnapMode { get; set; }
vb
<XtraSerializableProperty>
Public Property CustomizationFormSnapMode As SnapMode

Property Value

TypeDescription
DevExpress.Utils.Controls.SnapMode

A SnapMode enumeration value that specifies whether or not the Customization Form can automatically snap to specific targets.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to CustomizationFormSnapMode
PivotGridControl

.OptionsCustomization .CustomizationFormSnapMode

|

Remarks

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

  • OwnerControl - Customization Form snaps to a parent control (not a form) that owns this PivotGridControl 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

PivotGridOptionsCustomizationEx Class

PivotGridOptionsCustomizationEx Members

DevExpress.XtraPivotGrid Namespace