DataList Events

Events

AddDeleteButtonsVisibleChanged This event is raised when the AddDeleteButtonsVisible property changes
AddedRow This event is raised after adding an item to the data source
AddingRow This event is raised just prior to adding an item to the data source
AutoSizeChangedOccurs when the AutoSize property changes.
(Inherited from UserControl)
AutoValidateChangedOccurs when the AutoValidate property changes.
(Inherited from UserControl)
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)
BeginDrag This event is raised when a drag and drop operation is initiated
BindingContextChangedOccurs when the value of the BindingContext property changes.
(Inherited from Control)
CanceledEdits This event is raised after canceling edits via the Escape key
CancelingEdits This event is raised just prior to canceling edits to a row via the Escape key
CausesValidationChangedOccurs when the value of the CausesValidation property changes.
(Inherited from Control)
ChangePolicyModified This event is raised when the change policy for the data source is modified (i.e. changes to indicate whether or not adds, edits, or deletes are allowed).
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)
ContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes.
(Inherited from Control)
ControlAddedOccurs when a new control is added to the ControlControlCollection.
(Inherited from Control)
ControlRemovedOccurs when a control is removed from the ControlControlCollection.
(Inherited from Control)
Current This event is raised when a row is made the current row
CursorChangedOccurs when the value of the Cursor property changes.
(Inherited from Control)
DataContextChangedOccurs when the value of the DataContext property changes.
(Inherited from Control)
DataSourceChanged This event is raised when the DataSource is changed
DeletedRow This event is raised after deleting an item from the data source
DeletingRow This event is raised just prior to deleting an item from the data source
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)
DpiChangedAfterParentOccurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed.
(Inherited from Control)
DpiChangedBeforeParentOccurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred.
(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)
EnabledChangedOccurs when the Enabled property value has changed.
(Inherited from Control)
EnterOccurs when the control is entered.
(Inherited from Control)
FontChangedOccurs when the Font property value changes.
(Inherited from Control)
FooterDataBound This event is raised when the footer is data bound
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)
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)
HeaderDataBound This event is raised when the header is data bound
HelpRequestedOccurs when the user requests help for a control.
(Inherited from Control)
ImeModeChangedOccurs when the ImeMode property has changed.
(Inherited from Control)
InvalidatedOccurs when a control's display requires redrawing.
(Inherited from Control)
ItemDataBound This event is raised when a row item is data bound
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)
LeaveOccurs when the input focus leaves the control.
(Inherited from Control)
LoadOccurs before the control becomes visible for the first time.
(Inherited from UserControl)
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)
NavigationControlsVisibleChanged This event is raised when the NavigationControlsVisible property changes
NoRows This event is raised after refreshing the data source or after deleting a row and there are no more rows in the data source.
PaddingChangedOccurs when the control's padding changes.
(Inherited from Control)
PaintOccurs when the control is redrawn.
(Inherited from Control)
ParentChangedOccurs when the Parent property value changes.
(Inherited from Control)
PreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control.
(Inherited from Control)
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)
RegionChangedOccurs when the value of the Region property changes.
(Inherited from Control)
RepeatIntervalChanged This event is raised when the RepeatInterval changes
RepeatWaitChanged This event is raised when the RepeatWait value changes
ResizeOccurs when the control is resized.
(Inherited from Control)
RightToLeftChangedOccurs when the RightToLeft property value changes.
(Inherited from Control)
RowHeaderBackColorChanged This event is raised when the RowHeaderBackColor changes
RowHeaderForeColorChanged This event is raised when the RowHeaderForeColor changes
RowHeadersFlatChanged This event is raised when the RowHeadersFlat property changes
RowHeadersVisibleChanged This event is raised when the RowHeadersVisible property changes
RowHeaderWidthChanged This event is raised when the RowHeaderWidth changes
ScrollOccurs when the user or code scrolls through the client area.
(Inherited from ScrollableControl)
SelectionBackColorChanged This event is raised when the SelectionBackColor changes
SelectionForeColorChanged This event is raised when the SelectionForeColor changes
SeparatorColorChanged This event is raised when the SeparatorColor changes
SeparatorHeightChanged This event is raised when the SeparatorHeight changes
SeparatorsVisibleChanged This event is raised when the SeparatorsVisible property changes
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)
TextChangedRaises the TextChanged event.
(Inherited from UserControl)
ValidatedOccurs when the control is finished validating.
(Inherited from Control)
ValidatingOccurs when the control is validating.
(Inherited from Control)
VisibleChangedOccurs when the Visible property value changes.
(Inherited from Control)

See Also