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

实现

适用于