Name
ItemChangedEventArgs
Synopsis
Encapsulating the data for the
CurrencyManager.ItemChanged
event, this class
allows you to retrieve the Index
of the item that
changed.
However, it is recommend that you do not handle this event if you are
building your own data-aware control. As with the
DataGrid
, it is recommended that you instead
depend on the data source implementing the
System.ComponentModel.IBindingList
interface and
that you bind to the ListChanged
event.
public class ItemChangedEventArgs : EventArgs { // Public Instance Properties public int Index{get; } }
Hierarchy
System.Object
→ System.EventArgs → ItemChangedEventArgs
Passed To
CurrencyManager.OnItemChanged()
,
ItemChangedEventHandler.{BeginInvoke()
,
Invoke()}
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.