共用方式為


ItemContainerGenerator.IWeakEventListener.ReceiveWeakEvent 方法

定義

此成員支援Windows Presentation Foundation (WPF) 基礎結構,而且不適合直接從您的程式碼使用。

 virtual bool System.Windows.IWeakEventListener.ReceiveWeakEvent(Type ^ managerType, System::Object ^ sender, EventArgs ^ e) = System::Windows::IWeakEventListener::ReceiveWeakEvent;
bool IWeakEventListener.ReceiveWeakEvent (Type managerType, object sender, EventArgs e);
abstract member System.Windows.IWeakEventListener.ReceiveWeakEvent : Type * obj * EventArgs -> bool
override this.System.Windows.IWeakEventListener.ReceiveWeakEvent : Type * obj * EventArgs -> bool
Function ReceiveWeakEvent (managerType As Type, sender As Object, e As EventArgs) As Boolean Implements IWeakEventListener.ReceiveWeakEvent

參數

managerType
Type

呼叫這個方法的 WeakEventManager 型別。

sender
Object

發出事件的物件。

e
EventArgs

事件資料。

傳回

Boolean

如果接聽程式已處理事件則為 true

實作

適用於