C1.Silverlight Namespace > C1TabControl Class : ItemsChanged Event |
'Declaration
Public Event ItemsChanged As System.EventHandler(Of NotifyCollectionChangedEventArgs)
'Usage
Dim instance As C1TabControl Dim handler As System.EventHandler(Of NotifyCollectionChangedEventArgs) AddHandler instance.ItemsChanged, handler
public event System.EventHandler<NotifyCollectionChangedEventArgs> ItemsChanged
The event handler receives an argument of type System.Collections.Specialized.NotifyCollectionChangedEventArgs containing data related to this event. The following NotifyCollectionChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets the description of the action that caused the event. |
NewItems | Gets the items affected by an action. |
NewStartingIndex | Gets the index at which the change occurred. |
OldItems | Gets the item affected by a System.Collections.Specialized.NotifyCollectionChangedAction.Replace or System.Collections.Specialized.NotifyCollectionChangedAction.Remove action. |
OldStartingIndex | Gets the index at which the change occurred for a System.Collections.Specialized.NotifyCollectionChangedAction.Replace or System.Collections.Specialized.NotifyCollectionChangedAction.Remove action. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2