Back to Devexpress

CardView Events

wpf-devexpress-dot-xpf-dot-grid-dot-cardview-dot-underscore-events.md

latest50.6 KB
Original Source

CardView Events

Represents a View that displays data using cards.

NameDescription
AddingNewRowOccurs when a new row is added to the GridControl and allows you to initialize the new record. Inherited from GridViewBase.
BeforeLayoutRefreshEnables you to lock down end-user capabilities that affect the onscreen position of the focused row (moving row focus, row scrolling, filtering, sorting, etc.). Inherited from DataViewBase.
CanSelectRowOccurs in multiple row select mode when an end-user tries to select a grid row (node) and allows you to prevent selecting a particular row (node). Inherited from DataViewBase.
CanUnselectRowOccurs in multiple row select mode when an end-user tries to unselect a grid row (node) and allows you to prevent unselecting a particular row (node). Inherited from DataViewBase.
CellEditorValueChangingOccurs when the cell editor value is changed and allows you to cancel changes. Inherited from GridViewBase.
CellValueChangedOccurs when a cell value is changed. Inherited from GridViewBase.
CellValueChangingOccurs when a user edits a cell value (for example, types or deletes a character, chooses a value from the drop-down list). Inherited from GridViewBase.
ColumnHeaderClickOccurs when a column header is clicked. Inherited from DataViewBase.
CompleteRecordDragDropOccurs when a drag-and-drop operation is completed. Inherited from DataViewBase.
ContextMenuClosingOccurs just before any context menu on the element is closed. Inherited from FrameworkElement.
ContextMenuOpeningOccurs when any context menu on the element is opened. Inherited from FrameworkElement.
ContinueRecordDragOccurs when there is a change in the keyboard or mouse button states during a drag-and-drop operation, and enables the drop source to cancel the drag-and-drop operation depending on the key/button states. Inherited from DataViewBase.
CopyingToClipboardObsolete. Occurs when grid data is copied to the clipboard, allowing you to manually copy required data. Inherited from GridViewBase.
CreateRootNodeCompletedInherited from DataViewBase.
CurrentPageIndexChangedOccurs after the selected page is changed. Inherited from GridViewBase.
CurrentPageIndexChangingOccurs before the selected page is changed. Inherited from GridViewBase.
CustomFilterDisplayTextAllows you to display custom text instead of a filter expression in the legacy Filter Panel. Inherited from DataViewBase.
DataContextChangedOccurs when the data context for this element changes. Inherited from FrameworkElement.
DataSourceRefreshOccurs before the data source is refreshed (a user presses F5 or executes the RefreshDataSource command) and allows you to implement custom refresh logic. Inherited from DataViewBase.
DragEnterOccurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
DragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
DragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
DragRecordOverOccurs continuously while a record is dragged (moved) within the drop target’s boundary. Inherited from DataViewBase.
DropOccurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
DropRecordOccurs when a record is dropped on the drop target element. Inherited from DataViewBase.
FilterEditorCreatedFires after the embedded FilterControl has been created. This event is not fired for the new FilterEditorControl. Inherited from DataViewBase.
FocusableChangedOccurs when the value of the Focusable property changes. Inherited from UIElement.
FocusedColumnChangedObsolete. Occurs after the focused column has been changed. Inherited from DataViewBase.
FocusedRowChangedObsolete. Occurs after the focused row has been changed. Inherited from DataViewBase.
FocusedRowHandleChangedOccurs after the focused row’s handle has been changed. Inherited from DataViewBase.
FocusedRowHandleChangingOccurs when the focused row handle is about to change. Inherited from DataViewBase.
FocusedViewChangedOccurs after the active View has been changed. Inherited from DataViewBase.
GetActiveEditorNeedsKeyAllows you to specify whether an active editor responds to keys that a user presses. Inherited from DataViewBase.
GetIsEditorActivationActionAllows you to specify whether an action (key down, text input, or mouse left button click) activates the focused editor. Inherited from DataViewBase.
GiveFeedbackOccurs when the input system reports an underlying drag-and-drop event that involves this element. Inherited from UIElement.
GiveRecordDragFeedbackOccurs continuously while a drag-and-drop operation is in progress, and enables the drag source to give feedback to the user. Inherited from DataViewBase.
GotFocusOccurs when this element gets logical focus. Inherited from UIElement.
GotKeyboardFocusOccurs when the keyboard is focused on this element. Inherited from UIElement.
GotMouseCaptureOccurs when this element captures the mouse. Inherited from UIElement.
GotStylusCaptureOccurs when this element captures the stylus. Inherited from UIElement.
GotTouchCaptureOccurs when a touch is captured to this element. Inherited from UIElement.
HiddenColumnChooserOccurs after the Column Chooser has been hidden. Inherited from DataViewBase.
HiddenEditorOccurs after a cell’s editor has been closed. Inherited from GridViewBase.
InitializedOccurs when this FrameworkElement is initialized. This event coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true. Inherited from FrameworkElement.
InvalidRowExceptionOccurs when a row fails validation or cannot be saved to a data source. Inherited from GridViewBase.
IsEnabledChangedOccurs when the value of the IsEnabled property on this element changes. Inherited from UIElement.
IsHitTestVisibleChangedOccurs when the value of the IsHitTestVisible dependency property changes on this element. Inherited from UIElement.
IsKeyboardFocusedChangedOccurs when the value of the IsKeyboardFocused property changes on this element. Inherited from UIElement.
IsKeyboardFocusWithinChangedOccurs when the value of the IsKeyboardFocusWithin property changes on this element. Inherited from UIElement.
IsMouseCapturedChangedOccurs when the value of the IsMouseCaptured property changes on this element. Inherited from UIElement.
IsMouseCaptureWithinChangedOccurs when the value of the IsMouseCaptureWithinProperty changes on this element. Inherited from UIElement.
IsMouseDirectlyOverChangedOccurs when the value of the IsMouseDirectlyOver property changes on this element. Inherited from UIElement.
IsStylusCapturedChangedOccurs when the value of the IsStylusCaptured property changes on this element. Inherited from UIElement.
IsStylusCaptureWithinChangedOccurs when the value of the IsStylusCaptureWithin property changes on this element. Inherited from UIElement.
IsStylusDirectlyOverChangedOccurs when the value of the IsStylusDirectlyOver property changes on this element. Inherited from UIElement.
IsVisibleChangedOccurs when the value of the IsVisible property changes on this element. Inherited from UIElement.
KeyDownOccurs when a key is pressed while focus is on this element. Inherited from UIElement.
KeyUpOccurs when a key is released while focus is on this element. Inherited from UIElement.
LayoutUpdatedOccurs when the layout of the various visual elements associated with the current Dispatcher changes. Inherited from UIElement.
LoadedOccurs when the element is laid out, rendered, and ready for interaction. Inherited from FrameworkElement.
LostFocusOccurs when this element loses logical focus. Inherited from UIElement.
LostKeyboardFocusOccurs when the keyboard is no longer focused on this element. Inherited from UIElement.
LostMouseCaptureOccurs when this element loses mouse capture. Inherited from UIElement.
LostStylusCaptureOccurs when this element loses stylus capture. Inherited from UIElement.
LostTouchCaptureOccurs when this element loses a touch capture. Inherited from UIElement.
ManipulationBoundaryFeedbackOccurs when the manipulation encounters a boundary. Inherited from UIElement.
ManipulationCompletedOccurs when a manipulation and inertia on the UIElement object is complete. Inherited from UIElement.
ManipulationDeltaOccurs when the input device changes position during a manipulation. Inherited from UIElement.
ManipulationInertiaStartingOccurs when the input device loses contact with the UIElement object during a manipulation and inertia begins. Inherited from UIElement.
ManipulationStartedOccurs when an input device begins a manipulation on the UIElement object. Inherited from UIElement.
ManipulationStartingOccurs when the manipulation processor is first created. Inherited from UIElement.
MouseDoubleClickOccurs when a mouse button is clicked two or more times. Inherited from Control.
MouseDownOccurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
MouseEnterOccurs when the mouse pointer enters the bounds of this element. Inherited from UIElement.
MouseLeaveOccurs when the mouse pointer leaves the bounds of this element. Inherited from UIElement.
MouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseMoveOccurs when the mouse pointer moves while over this element. Inherited from UIElement.
MouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseUpOccurs when any mouse button is released over this element. Inherited from UIElement.
MouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
PastingFromClipboardObsolete. Occurs when some information is pasted from the clipboard to the grid. Inherited from DataViewBase.
PreviewDragEnterOccurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
PreviewDragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
PreviewDragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
PreviewDropOccurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
PreviewGiveFeedbackOccurs when a drag-and-drop operation is started. Inherited from UIElement.
PreviewGotKeyboardFocusOccurs when the keyboard is focused on this element. Inherited from UIElement.
PreviewKeyDownOccurs when a key is pressed while focus is on this element. Inherited from UIElement.
PreviewKeyUpOccurs when a key is released while focus is on this element. Inherited from UIElement.
PreviewLostKeyboardFocusOccurs when the keyboard is no longer focused on this element. Inherited from UIElement.
PreviewMouseDoubleClickOccurs when a user clicks the mouse button two or more times. Inherited from Control.
PreviewMouseDownOccurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseMoveOccurs when the mouse pointer moves while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseUpOccurs when any mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
PreviewQueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
PreviewStylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewStylusButtonUpOccurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
PreviewStylusDownOccurs when the stylus touches the digitizer while it is over this element. Inherited from UIElement.
PreviewStylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
PreviewStylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
PreviewStylusMoveOccurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead. Inherited from UIElement.
PreviewStylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected. Inherited from UIElement.
PreviewStylusSystemGestureOccurs when a user performs one of several stylus gestures. Inherited from UIElement.
PreviewStylusUpOccurs when the user raises the stylus off the digitizer while the stylus is over this element. Inherited from UIElement.
PreviewTextInputOccurs when this element gets text in a device-independent manner. Inherited from UIElement.
PreviewTouchDownOccurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchMoveOccurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchUpOccurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
ProcessEditorActivationActionAllows you to specify whether the focused editor should process an activation action. Inherited from DataViewBase.
PropertyChangedOccurs every time the DataViewBase.FocusedView property has changed its value. Inherited from DataViewBase.
QueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
QueryCursorOccurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position. Inherited from UIElement.
RequestBringIntoViewOccurs when BringIntoView(Rect) is called on this element. Inherited from FrameworkElement.
RowAnimationBeginEnables you to provide a custom animation effect after row data has been asynchronously retrieved from a data source. Inherited from DataViewBase.
RowCanceledOccurs when the changes made in a row are discarded. Inherited from GridViewBase.
RowUpdatedOccurs when the GridControl updates the data source with the changes made within the focused row. Inherited from GridViewBase.
SearchStringToFilterCriteriaOccurs each time the GridControl starts to search data and allows you to convert the search string to filter criteria. Inherited from DataViewBase.
SelectionChangedObsolete. Occurs after grid’s selection has been changed. Inherited from GridViewBase.
ShowFilterPopupAllows you to customize a column’s drop-down filter. Inherited from DataViewBase.
ShowGridMenuEnables you to customize the context menu. Inherited from DataViewBase.
ShowingEditorAllows you to prevent an end user from activating editors of individual cells. Inherited from GridViewBase.
ShownColumnChooserOccurs after the Column Chooser has been shown. Inherited from DataViewBase.
ShownEditorOccurs after the focused cell’s editor has been shown. Inherited from GridViewBase.
SizeChangedOccurs when either the ActualHeight or the ActualWidth properties change value on this element. Inherited from FrameworkElement.
SourceUpdatedOccurs when the source value changes for any existing property binding on this element. Inherited from FrameworkElement.
StartRecordDragThis event occurs when a drag-and-drop operation is started. Inherited from DataViewBase.
StylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
StylusButtonUpOccurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
StylusDownOccurs when the stylus touches the digitizer while the stylus is over this element. Inherited from UIElement.
StylusEnterOccurs when the stylus enters the bounds of this element. Inherited from UIElement.
StylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
StylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
StylusLeaveOccurs when the stylus leaves the bounds of the element. Inherited from UIElement.
StylusMoveOccurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, StylusInAirMove is raised instead. Inherited from UIElement.
StylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected, while over this element. Inherited from UIElement.
StylusSystemGestureOccurs when a user performs one of several stylus gestures. Inherited from UIElement.
StylusUpOccurs when the user raises the stylus off the digitizer while it is over this element. Inherited from UIElement.
TargetUpdatedOccurs when the target value changes for any property binding on this element. Inherited from FrameworkElement.
TextInputOccurs when this element gets text in a device-independent manner. Inherited from UIElement.
ToolTipClosingOccurs just before any tooltip on the element is closed. Inherited from FrameworkElement.
ToolTipOpeningOccurs when any tooltip on the element is opened. Inherited from FrameworkElement.
TouchDownOccurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
TouchEnterOccurs when a touch moves from outside to inside the bounds of this element. Inherited from UIElement.
TouchLeaveOccurs when a touch moves from inside to outside the bounds of this element. Inherited from UIElement.
TouchMoveOccurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
TouchUpOccurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
UnboundExpressionEditorCreatedFires after the Expression Editor has been invoked for an unbound column. Inherited from DataViewBase.
UnloadedOccurs when the element is removed from within an element tree of loaded elements. Inherited from FrameworkElement.
ValidateCellAllows you to validate the focused cell’s data. Inherited from GridViewBase.
ValidateRowAllows you to validate row values. Inherited from GridViewBase.
ValidateRowDeletionAllows you to validate rows, check database constraints, and delete rows from the database before a user deletes a row from the Data Grid. Inherited from GridViewBase.

See Also

CardView Class

CardView Members

DevExpress.Xpf.Grid Namespace