ICollectionView::CurrentChanging Event

 

When implementing this interface, raise this event before changing the current item. Event handler can cancel this event.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

event CurrentChangingEventHandler^ CurrentChanging {
	void add(CurrentChangingEventHandler^ value);
	void remove(CurrentChangingEventHandler^ value);
}

Classes that are implementing this interface should raise the CurrentChanging event and check the Cancel property value before changing the currency and raising CurrentChanged event.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: