ListChangedEventArgs

ListChangedEventArgs

System.ComponentModel (system.dll) class

This class encapsulates the data for the IBindingList.ListChanged event. You can determine the OldIndex and NewIndex of the item that was changed. The ListChangedType determines what kind of change raised the event.

 public class  ListChangedEventArgs  : EventArgs {  // Public Constructors  public  ListChangedEventArgs  (         ListChangedType  listChangedType  , int  newIndex  );    public  ListChangedEventArgs  (         ListChangedType  listChangedType  , int  newIndex  ,         int  oldIndex  );    public  ListChangedEventArgs  (         ListChangedType  listChangedType  ,         PropertyDescriptor  propDesc  );  // Public Instance Properties  public ListChangedType  ListChangedType  {get; }    public int  NewIndex  {get; }    public int  OldIndex  {get; } } 

Hierarchy

System.Object System.EventArgs ListChangedEventArgs

Passed To

ListChangedEventHandler.{BeginInvoke() , Invoke()}



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net