ICollectionView.CurrentChanging 事件

定義

實作這個介面時,在變更目前項目之前會引發這個事件。When implementing this interface, raise this event before changing the current item. 事件處理常式可以取消這個事件。Event handler can cancel this event.

public:
 event System::ComponentModel::CurrentChangingEventHandler ^ CurrentChanging;
event System.ComponentModel.CurrentChangingEventHandler CurrentChanging;
member this.CurrentChanging : System.ComponentModel.CurrentChangingEventHandler 
Event CurrentChanging As CurrentChangingEventHandler 

備註

執行此介面的類別應該在變更貨幣CurrentChanging和引發CurrentChanged事件之前Cancel , 引發事件並檢查屬性值。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.

適用於

另請參閱