PivotGridControl.QueryException Event

Occurs when a query processing error occurs on a bound server providing data for the PivotGridControl.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll

Declaration

public event PivotQueryExceptionEventHandler QueryException
Public Event QueryException As PivotQueryExceptionEventHandler

Event Data

The QueryException event's data class is PivotQueryExceptionEventArgs. The following properties provide information specific to this event:

Property Description
ErrorPanelText Gets or sets a text from the error panel.
Exception Gets the exception that was thrown.
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
IsDrillDownRequested Gets a value that indicates whether a query processing error occurs during a drill-down request.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
ShowErrorPanel Gets or sets whether to show the error panel.
Source Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.

Remarks

The PivotGridControl.QueryException event is raised if a query processing error occurs on a bound server providing data for the PivotGridControl. This event is raised for the following data source types.

Use the PivotQueryExceptionEventArgs.Exception property to determine which exception has been thrown. To cancel the default exception handling actions, set the System.Windows.RoutedEventArgs.Handled property to true.

See Also