Back to Devexpress

PivotGridControl.QueryException Event

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-eeb97668.md

latest3.0 KB
Original Source

PivotGridControl.QueryException Event

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public event PivotQueryExceptionEventHandler QueryException
vb
Public Event QueryException As PivotQueryExceptionEventHandler

Event Data

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

PropertyDescription
ErrorPanelTextGets or sets a text from the error panel.
ExceptionGets an exception that has been thrown.
HandledGets or sets whether the default exception handling actions should be performed.
ShowErrorPanelGets or sets whether to show the error panel.

Remarks

The 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 PivotQueryExceptionEventArgs.Handled property to true.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace