Back to Devexpress

VGridControl Events

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrol-dot-underscore-events.md

latest45.0 KB
Original Source

VGridControl Events

The grid control that displays data in a tabular form with data fields rendered as rows, and records rendered as columns. See Vertical Grid.

NameDescription
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). Inherited from VGridControlBase.
BindingContextChangedOccurs when the value of the BindingContext property changes. Inherited from Control.
CausesValidationChangedOccurs when the value of the CausesValidation property changes. Inherited from Control.
CellValueChangedFires immediately after a cell’s value has been changed. Inherited from VGridControlBase.
CellValueChangingFires in response to changing the edit value. Inherited from VGridControlBase.
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.
CustomDrawCaptionAllows you to paint the control’s caption. Inherited from VGridControlBase.
CustomDrawFilterPanelEnables you to paint the Filter Panel manually.
CustomDrawRecordHeaderAllows you to paint record headers.
CustomDrawRowHeaderCellEnables row header cells to be painted manually. Inherited from VGridControlBase.
CustomDrawRowHeaderIndentEnables row header indents to be painted manually. Inherited from VGridControlBase.
CustomDrawRowValueCellEnables data cells to be painted manually. Inherited from VGridControlBase.
CustomDrawSeparatorEnables cell separators to be painted manually. Inherited from VGridControlBase.
CustomDrawTreeButtonEnables expand buttons to be painted manually. Inherited from VGridControlBase.
CustomFilterDisplayTextAllows you to customize the display text representing the current filter within the filter panel.
CustomizationFormCreatingCategoryFires when a new category is about to be created in Customization Form. Inherited from VGridControlBase.
CustomizationFormDeletingCategoryFires when a category is about to be deleted in Customization Form. Inherited from VGridControlBase.
CustomizationFormSearchAllows you to filter search results when a user searches in the Customization Form. Inherited from VGridControlBase.
CustomRecordCellEditAllows you to associate an editor with an individual cell. To avoid performance issues and increased memory consumption, assign repository items that already exist in the VGridControl.RepositoryItems collection. Do not create new repository items in this handler. Inherited from VGridControlBase.
CustomRecordCellEditForEditingAllows you to assign a custom editor to a cell for in-place editing, and so override the default row editor, which is by default, used both in display and edit modes. To avoid performance issues and increased memory consumption, assign repository items that already exist in the VGridControl.RepositoryItems collection. Do not create new repository items in this handler. Inherited from VGridControlBase.
CustomRecordDisplayTextAllows you to customize the text displayed in a cell and the corresponding filter.
CustomRecordFilterAllows you to hide a record regardless of the applied filter.
CustomRecordHeaderDisplayTextAllows you to assign text to individual record headers.
CustomUnboundDataEnables data to be provided to and modified data to be saved from unbound rows.
DataSourceChangedFires after the grid’s data source has been changed. Inherited from VGridControlBase.
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.
EnabledChangedOccurs when the Enabled property value has changed. Inherited from Control.
EndDragRowFires after a row drag and drop operation has been completed. Inherited from VGridControlBase.
EndSortingFires when the control completes sorting data.
EnterOccurs when the control is entered. Inherited from Control.
FilterEditorCreatedAllows you to customize the filter editor before it is displayed on screen.
FilterExpressionEditorCreatedAllows you to customize the Expression Editor used to edit custom expressions that are displayed in the control’s Filter Editor.
FilterPopupExcelCustomizeTemplateAllows you to customize templates used by Excel-style Filter Dropdowns 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 Dropdowns 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.
FocusedRecordCellChangedFires in response to cell focus changing from one cell to another in a record if the previously and currently focused cells have different indexes. Inherited from VGridControlBase.
FocusedRecordChangedFires in response to record focus changing. Inherited from VGridControlBase.
FocusedRowChangedFires in response to row focus moving. Inherited from VGridControlBase.
FontChangedOccurs when the Font property value changes. Inherited from Control.
ForeColorChangedOccurs when the ForeColor property value changes. Inherited from Control.
FormatRuleExpressionEditorCreated
GiveFeedbackOccurs during a drag operation. Inherited from Control.
GotFocusOccurs when the control receives focus. Inherited from Control.
GridLayoutFires after the grid’s layout has been changed. Inherited from VGridControlBase.
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 inplace editor has been closed. Inherited from VGridControlBase.
HideCustomizationFormFires before the Customization Form is closed. Inherited from VGridControlBase.
HyperlinkClickFires when a hyperlink in a row header or record header is activated. Inherited from VGridControlBase.
ImeModeChangedOccurs when the ImeMode property has changed. Inherited from Control.
InitNewRecordEnables added records to be initialized. Inherited from VGridControlBase.
InvalidatedOccurs when a control’s display requires redrawing. Inherited from Control.
InvalidRecordExceptionFires when a record fails validation or when it cannot be saved to the data source. Inherited from VGridControlBase.
InvalidValueExceptionEnables a proper response to entering an invalid cell value to be provided. Inherited from VGridControlBase.
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 after a layout whose version doesn’t match the current layout version has been loaded from storage (a stream, xml file or system registry). Inherited from VGridControlBase.
LeaveOccurs when the input focus leaves the control. Inherited from Control.
LeftVisibleRecordChangedFires when the VGridControlBase.LeftVisibleRecord property’s value is changed. Inherited from VGridControlBase.
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.
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.
PaddingChangedOccurs when the control’s padding changes. Inherited from Control.
PaintOccurs when the control is redrawn. Inherited from Control.
PaintExOccurs when the control is redrawn. Inherited from VGridControlBase.
ParentChangedOccurs when the Parent property value changes. Inherited from Control.
ParseFindPanelTextFires after the query in the find panel changes. Allows you to create a filter condition based on the query and specify how to highlight results in the control. Inherited from VGridControlBase.
PopupMenuShowingAllows you to customize built-in context menus or invoke custom menus. Inherited from VGridControlBase.
PreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control.
ProcessDragRowFires when a user drags a row. Inherited from VGridControlBase.
PropertyDeserializingAllows you to restore certain settings previously saved in the layout. Inherited from VGridControlBase.
PropertySerializingAllows you to include certain settings in the layout when you save it. Inherited from VGridControlBase.
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.
RecordCellStyleEnables the appearance settings of individual cells to be changed. Inherited from VGridControlBase.
RecordCountChangedOccurs when the number of visible records is changed.
RecordUpdatedOccurs after the modified focused record has been saved to the underlying data source.
RecordWidthChangedFires after a record’s width has been changed. Inherited from VGridControlBase.
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.
RowChangedFires after a row’s property has been changed. Inherited from VGridControlBase.
RowChangingFires when changing a row’s property. Inherited from VGridControlBase.
RowCollapsedFires after a row is collapsed. Inherited from VGridControlBase.
RowCollapsingFires before a row is collapsed and allows you to cancel the action. Inherited from VGridControlBase.
RowExpandedFires after a row is expanded. Inherited from VGridControlBase.
RowExpandingFires before a row is expanded and allows you to cancel the action. Inherited from VGridControlBase.
RowFilterChangedOccurs when a row’s filter condition is changed.
RowHeaderWidthChangedFires after the width of row headers has been changed. Inherited from VGridControlBase.
SelectedChangedAllows you to respond to changes in the current selection. Inherited from VGridControlBase.
ShowCustomizationFormFires after the Customization Form has been invoked. Inherited from VGridControlBase.
ShowFilterPopupExcelAllows you to hide specific filter conditions from the Filters tab of the Excel-style Drop-down Filter.
ShowingEditorAllows the editor’s activation to be canceled. Inherited from VGridControlBase.
ShowMenuObsolete. Allows context menus for rows to be customized. Inherited from VGridControlBase.
ShownEditorFires after a cell editor has been invoked. Inherited from VGridControlBase.
SizeChangedOccurs when the Size property value changes. Inherited from Control.
StartDragRowFires before a row is dragged by an end-user. Inherited from VGridControlBase.
StartSortingFires when the control starts to sort data.
StateChangedFires after the vertical grid’s state has been changed. Inherited from VGridControlBase.
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.
TopVisibleRowIndexChangedFires when the VGridControlBase.TopVisibleRowIndex property’s value is changed. Inherited from VGridControlBase.
UnboundExpressionEditorCreatedFires after an Expression Editor has been created for an unbound column.
ValidatedOccurs when the control is finished validating. Inherited from Control.
ValidateRecordEnables you to specify whether record data is valid and whether the record can lose focus. Inherited from VGridControlBase.
ValidatingOccurs when the control is validating. Inherited from Control.
ValidatingEditorEnables you to perform manual validation of cell values. Inherited from VGridControlBase.
VisibleChangedOccurs when the Visible property value changes. Inherited from Control.

See Also

VGridControl Class

VGridControl Members

DevExpress.XtraVerticalGrid Namespace