Back to Devexpress

PropertyGridControl Events

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

latest41.7 KB
Original Source

PropertyGridControl Events

The control that allows you to display and edit properties of any object or set of objects.

NameDescription
ActiveViewTypeChangedFires when the PropertyGridControl.ActiveViewType property value changes.
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.
CustomDrawRowBrickAllows you to customize brick buttons that invoke a context menu (the Office view only).
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.
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.
CustomPropertyDescriptorsAllows you to specify properties that should be displayed in the control. You can use this event to filter or sort properties, display rows that are not bound to the selected object’s properties, or display multiple objects’ properties.
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.
CustomRowCreatedAllows you to customize PropertyGridControl rows when this PropertyGridControl has the Office View applied.
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.
EnterOccurs when the control is entered. Inherited from Control.
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.
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.
InitCustomRowBrick
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.
RecordCellStyleEnables the appearance settings of individual cells to be changed. Inherited from VGridControlBase.
RecordWidthChangedFires after a record’s width has been changed. Inherited from VGridControlBase.
Refreshed
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.
RowBrickMenuShowingAllows you to populate a context menu invoked with a click on a brick button (the Office view only).
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.
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.
SelectedTabChangedOccurs when the PropertyGridControl.SelectedTab property value changes.
ShowCustomizationFormFires after the Customization Form has been invoked. Inherited from VGridControlBase.
ShowingEditorAllows the editor’s activation to be canceled. Inherited from VGridControlBase.
ShowMenuObsolete. Allows context menus for rows to be customized.
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.
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.
TabPanelCustomizeFires before the control is loaded. Allows you to create tabs with properties and categories in the Office View.
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.
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

PropertyGridControl Class

PropertyGridControl Members

DevExpress.XtraVerticalGrid Namespace