PivotGridControl.ShowingCustomizationForm Event
Occurs before the Customization Form is displayed.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v19.1.dll
Declaration
Event Data
The ShowingCustomizationForm event's data class is CustomizationFormShowingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets whether the standard Customization Form should be canceled. |
CustomizationForm | Provides access to the Customization Form. |
Handled | Obsolete. Gets or sets whether the standard Customization Form should be canceled. |
ParentControl | Gets or sets the control to which the Customization Form belongs. |
Remarks
The ShowingCustomizationForm event occurs before the Customization Form is displayed. It allows the form to be customized or replaced with a custom form.
The CustomizationFormShowingEventArgs.CustomizationForm parameter refers to the standard Customization Form which is about to be displayed. If the event’s CustomizationFormShowingEventArgs.Cancel parameter is set to true the standard Customization Form will not be displayed. The CustomizationFormShowingEventArgs.ParentControl parameter specifies the control (PivotGrid control) which owns the form.
After the standard Customization Form has been invoked the PivotGridControl.ShowCustomizationForm event is raised.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowingCustomizationForm event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.