Occurs before the Customization Form is displayed.
public event CustomizationFormShowingEventHandler ShowingCustomizationForm
Public Event ShowingCustomizationForm As CustomizationFormShowingEventHandler
The ShowingCustomizationForm event's data class is CustomizationFormShowingEventArgs. The following properties provide information specific to this event:
|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.|
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.