Intersoft ClientUI Documentation
CollectionChanged Event
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXCalendarSelectedDatesCollection Class : CollectionChanged Event






Syntax

Visual Basic (Declaration) 
Public Event CollectionChanged As NotifyCollectionChangedEventHandler
Visual Basic (Usage)Copy Code
Dim instance As UXCalendarSelectedDatesCollection
Dim handler As NotifyCollectionChangedEventHandler
 
AddHandler instance.CollectionChanged, handler
C# 
public event NotifyCollectionChangedEventHandler CollectionChanged
Delphi 
public event CollectionChanged: NotifyCollectionChangedEventHandler; 
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: __event NotifyCollectionChangedEventHandler* CollectionChanged
C++/CLI 
public:
event NotifyCollectionChangedEventHandler^ CollectionChanged

Event Data

The event handler receives an argument of type NotifyCollectionChangedEventArgs containing data related to this event. The following NotifyCollectionChangedEventArgs properties provide information specific to this event.

PropertyDescription
Action Gets the action that caused the event.
NewItems Gets the list of new items involved in the change.
NewStartingIndex Gets the index at which the change occurred.
OldItems Gets the list of items affected by a System.Collections.Specialized.NotifyCollectionChangedAction.Replace, Remove, or Move action.
OldStartingIndex Gets the index at which a System.Collections.Specialized.NotifyCollectionChangedAction.Move, Remove, or Replace action occurred.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.