ItemCollection.IWeakEventListener.ReceiveWeakEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Receives events from the centralized event manager.
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
Parameters
- managerType
- Type
The type of the WeakEventManager calling this method.
- sender
- Object
Object that originated the event.
Event data.
Returns
true
if the listener handled the event; otherwise, false
.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ItemCollection instance is cast to an IWeakEventListener interface.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.