Back to Devexpress

PivotGridControl Events

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-dot-underscore-events.md

latest44.0 KB
Original Source

PivotGridControl Events

Allows you to create a pivot table (cross-tabular format) for multi-dimensional analysis of large amounts of data.

NameDescription
ActiveFilterCriteriaChangedOccurs when the filter criteria, currently applied to the PivotGridControl, is changed.
AsyncOperationCompletedOccurs after an asynchronous operation has been completed.
AsyncOperationStartingOccurs before an asynchronous operation is started.
AutoSizeChangedThis event is not relevant for this class. Inherited from Control.
BackColorChangedOccurs when the value of the BackColor property changes. Inherited from Control.
BackgroundImageChangedOccurs when the value of the BackgroundImage property changes. Inherited from Control.
BackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes. Inherited from Control.
BeforeLoadLayoutOccurs before a layout is restored from storage (a stream, xml file or the system registry).
BeginRefreshOccurs before the control’s data recalculation starts.
BindingContextChangedOccurs when the value of the BindingContext property changes. Inherited from Control.
CausesValidationChangedOccurs when the value of the CausesValidation property changes. Inherited from Control.
CellClickOccurs when a cell is clicked.
CellDoubleClickOccurs when a cell is double-clicked.
CellSelectionChangedOccurs when the cell selection is modified.
ChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change. Inherited from Control.
ClickOccurs when the control is clicked. Inherited from Control.
ClientSizeChangedOccurs when the value of the ClientSize property changes. Inherited from Control.
ContextMenuChangedOccurs when the value of the ContextMenu property changes. Inherited from Control.
ContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes. Inherited from Control.
ControlAddedOccurs when a new control is added to the Control.ControlCollection. Inherited from Control.
ControlRemovedOccurs when a control is removed from the Control.ControlCollection. Inherited from Control.
CursorChangedOccurs when the value of the Cursor property changes. Inherited from Control.
CustomAppearanceAllows the appearances of cells to be dynamically customized when the control is displayed on screen and in the print output.
CustomCellDisplayTextEnables custom display text to be provided for the cells displayed within the Data Area.
CustomCellEditAllows you to assign editors for particular cells. To avoid performance issues and increased memory consumption, assign repository items that already exist in the PivotGridControl.RepositoryItems collection. Do not create new repository items in this handler.
CustomCellEditForEditingAllows you to assign a custom editor to a cell for in-place editing, and override the default cell editor, which is used in both display and edit modes, by default. To avoid performance issues and increased memory consumption, assign repository items that already exist in the PivotGridControl.RepositoryItems collection. Do not create new repository items in this handler.
CustomCellValueAllows you to replace cell values with values calculated in the event handler.
CustomChartDataSourceDataOccurs when a PivotGridControl prepares data to be displayed in a ChartControl.
CustomChartDataSourceRowsAllows you to customize pivot grid data before passing it to a chart control.
CustomColumnWidthEnables the column width to be customized.
CustomCustomizationFormSortAllows you to change fields and folders order in the Customization Form.
CustomDrawCellEnables data cells to be painted manually.
CustomDrawEmptyAreaEnables a Pivot Grid Control’s background to be custom painted.
CustomDrawFieldHeaderEnables field headers to be painted manually.
CustomDrawFieldHeaderAreaEnables header areas to be painted manually.
CustomDrawFieldValueEnables column and row headers to be painted manually.
CustomEditValueEnables you to change cell values.
CustomExportCellEnables you to render different content for individual cells in a printed or exported document, if the control is exported in the WYSIWYG mode.
CustomExportFieldValueEnables you to render different content for individual field values in a printed or exported document, if the PivotGrid is exported in the WYSIWYG mode.
CustomExportHeaderEnables you to render different content for individual field headers in a printed or exported document, if the control is exported in the WYSIWYG mode.
CustomFieldSortAllows you to implement a custom sorting algorithm for field values.
CustomFieldValueCellsAllows you to customize field value cells.
CustomFilterDisplayTextEnables custom text to be displayed in the Filter Panel.
CustomFilterPopupItemsAllows you to customize items displayed in the Classic filter popup.
CustomGroupIntervalAllows you to custom group values of column and row fields.
CustomRowHeightEnables the rows height to be customized.
CustomServerModeSortAllows you to implement a custom sorting algorithm for the field values in OLAP and server modes.
CustomSummaryAllows you to calculate a custom summary.
CustomUnboundFieldDataEnables providing data to unbound fields.
DataSourceChangedFires when the Pivot Grid Control’s data source changes.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DockChangedOccurs when the value of the Dock property changes. Inherited from Control.
DoubleClickOccurs when the control is double-clicked. Inherited from Control.
DragDropOccurs when a drag-and-drop operation is completed. Inherited from Control.
DragEnterOccurs when an object is dragged into the control’s bounds. Inherited from Control.
DragLeaveOccurs when an object is dragged out of the control’s bounds. Inherited from Control.
DragOverOccurs when an object is dragged over the control’s bounds. Inherited from Control.
EditorKeyDownOccurs when a key is pressed within an in-place editor that belongs to the container control. Inherited from EditorContainer.
EditorKeyPressOccurs when a character key is pressed within an in-place editor that belongs to the container control. Inherited from EditorContainer.
EditorKeyUpOccurs when a pressed key is released within an in-place editor that belongs to the container control. Inherited from EditorContainer.
EditValueChangedOccurs when the cell value changes and allows you to save the changed value.
EnabledChangedOccurs when the Enabled property value has changed. Inherited from Control.
EndRefreshOccurs after the control’s data recalculation has been completed.
EnterOccurs when the control is entered. Inherited from Control.
ExportFinishedOccurs after the PivotGrid’s export has been completed.
ExportStartedOccurs after the PivotGrid’s export has been started.
ExpressionEditorCreated
FieldAreaChangedOccurs after a field location or visibility has been changed.
FieldAreaChangingEnables you to control whether the dragged field header can be dropped at the area it’s currently located over.
FieldAreaIndexChangedOccurs after a field has been moved.
FieldExpandedInFieldGroupChangedFires when the expansion status of fields combined into a field group is changed.
FieldFilterChangedOccurs after a specific field’s filter criteria was changed.
FieldFilterChangingAllows you to customize the filter that is being applied or cancel filtering.
FieldPropertyChangedOccurs after a field’s property has been changed.
FieldTooltipShowingOccurs before a tooltip is invoked.
FieldUnboundExpressionChangedFires after the PivotGridFieldBase.UnboundExpression property’s value has been changed.
FieldValueCollapsedFires after a field value has been collapsed.
FieldValueCollapsingEnables you to control whether field values can be collapsed.
FieldValueDisplayTextAllows you to change the display text and display field’s data in a more user-friendly format.
FieldValueExpandedFires after a field value has been expanded.
FieldValueExpandingEnables you to control whether field values can be expanded.
FieldValueImageIndexEnables images to be shown within column and row headers.
FieldValueNotExpandedOccurs in OLAP mode, when an end-user clicks an expand button or selects Expand All from the context menu, and the field value cannot be expanded.
FieldVisibleChangedOccurs after a field has been shown or hidden.
FieldWidthChangedProvides a notification that the field’s width has been changed.
FilterEditorCreatedAllows you to customize the Filter Editor before it is displayed on-screen.
FilterPopupExcelCustomizeTemplateAllows you to customize templates used by Excel-style filter popups and external editors generated using Filtering UI Context.
FilterPopupExcelDataAllows you to add, remove, and modify data values and customize predefined filters in the Excel style pop-up filter menus. Filter items added manually on this event must be unique and sorted.
FilterPopupExcelParseFilterCriteriaAllows you to parse the filter criteria applied to data and select the corresponding values in the filter menu.
FilterPopupExcelPrepareTemplateAllows you to replace templates used by Excel-style filter popups and external editors generated using Filtering UI Context.
FilterPopupExcelQueryFilterCriteriaFires when a filter criteria is about to be applied to data and allows you to customize the filter criteria.
FocusedCellChangedFires in response to cell focus changing.
FontChangedOccurs when the Font property value changes. Inherited from Control.
ForeColorChangedOccurs when the ForeColor property value changes. Inherited from Control.
GiveFeedbackOccurs during a drag operation. Inherited from Control.
GotFocusOccurs when the control receives focus. Inherited from Control.
GridLayoutFires after the control’s layout has been changed.
GroupFilterChangedOccurs after a group filter condition was changed.
HandleCreatedOccurs when a handle is created for the control. Inherited from Control.
HandleDestroyedOccurs when the control’s handle is in the process of being destroyed. Inherited from Control.
HelpRequestedOccurs when the user requests help for a control. Inherited from Control.
HiddenEditorFires after an in-place editor has been closed.
HideCustomizationFormFires before the Customization Form is closed.
ImeModeChangedOccurs when the ImeMode property has changed. Inherited from Control.
InvalidatedOccurs when a control’s display requires redrawing. Inherited from Control.
InvalidValueExceptionEnables you to provide a proper response to entering an invalid cell value.
KeyDownOccurs when a key is pressed while the control has focus. Inherited from Control.
KeyPressOccurs when a character. space or backspace key is pressed while the control has focus. Inherited from Control.
KeyUpOccurs when a key is released while the control has focus. Inherited from Control.
LayoutOccurs when a control should reposition its child controls. Inherited from Control.
LayoutUpgradeOccurs when a layout is restored from a data store (a stream, xml file or the system registry) and its version is different than that of the control’s current layout version.
LeaveOccurs when the input focus leaves the control. Inherited from Control.
LeftTopCellChangedOccurs after the Pivot Grid Control is scrolled.
LocationChangedOccurs when the Location property value has changed. Inherited from Control.
LostFocusOccurs when the control loses focus. Inherited from Control.
MarginChangedOccurs when the control’s margin changes. Inherited from Control.
MenuItemClickAllows custom responses to be provided for clicks on context menu items.
MouseCaptureChangedOccurs when the control loses mouse capture. Inherited from Control.
MouseClickOccurs when the control is clicked by the mouse. Inherited from Control.
MouseDoubleClickOccurs when the control is double clicked by the mouse. Inherited from Control.
MouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control.
MouseEnterOccurs when the mouse pointer enters the control. Inherited from Control.
MouseHoverOccurs when the mouse pointer rests on the control. Inherited from Control.
MouseLeaveOccurs when the mouse pointer leaves the control. Inherited from Control.
MouseMoveOccurs when the mouse pointer is moved over the control. Inherited from Control.
MouseUpOccurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control.
MouseWheelOccurs when the mouse wheel moves while the control has focus. Inherited from Control.
MoveOccurs when the control is moved. Inherited from Control.
OLAPExceptionObsolete. Raised when a query processing error occurs on a bound OLAP server, or when the connection to this server is lost.
OLAPQueryDataAllows you to get a query used to obtain data in PivotGrid.
OLAPQueryTimeoutFires after a specific interval of time has elapsed when sending a query to an OLAP server.
PaddingChangedOccurs when the control’s padding changes. Inherited from Control.
PaintOccurs when the control is redrawn. Inherited from Control.
PaintExA DirectX-compatible method that replaces the standard Control.Paint method.
ParentChangedOccurs when the Parent property value changes. Inherited from Control.
PopupMenuShowingAllows you to customize built-in context menus or invoke custom menus.
PreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control.
PropertyDeserializing
PropertySerializing
QueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications. Inherited from Control.
QueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. Inherited from Control.
QueryCustomFunctionsAllows you to add custom-function-based filters (for example, ‘discount is more than 15%’) to Excel-style pop-up filter menus and/or the filter editor.
QueryExceptionOccurs when a query processing error occurs on a bound server providing data for the PivotGridControl.
RegionChangedOccurs when the value of the Region property changes. Inherited from Control.
ResizeOccurs when the control is resized. Inherited from Control.
RightToLeftChangedOccurs when the RightToLeft property value changes. Inherited from Control.
ShowCustomizationFormFires immediately after the Customization Form has been invoked.
ShowFilterPopupExcelAllows you to customize the Excel-style filter popup (for instance, to hide specific filter conditions from the Filters tab).
ShowingCustomizationFormOccurs before the Customization Form is displayed.
ShowingEditorAllows you to cancel editor activation.
ShownEditorFires after a cell editor has been invoked.
SizeChangedOccurs when the Size property value changes. Inherited from Control.
StyleChangedOccurs when the control style changes. Inherited from Control.
SystemColorsChangedOccurs when the system colors change. Inherited from Control.
TabIndexChangedOccurs when the TabIndex property value changes. Inherited from Control.
TabStopChangedOccurs when the TabStop property value changes. Inherited from Control.
TextChangedOccurs when the Text property value changes. Inherited from Control.
UnboundExpressionEditorCreatedFires after an Expression Editor is created for an unbound field.
UserActionChangedAllows you to respond to end-user actions performed on the PivotGridControl.
ValidatedOccurs when the control is finished validating. Inherited from Control.
ValidatingOccurs when the control is validating. Inherited from Control.
ValidatingEditorEnables you to manually validate cell values.
VisibleChangedOccurs when the Visible property value changes. Inherited from Control.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace