Editar

Compartilhar via


RibbonGallery.IWeakEventListener.ReceiveWeakEvent Method

Definition

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

The object that originated the event.

e
EventArgs

The event data.

Returns

true if the listener handled the event. false if it receives an event that it does not recognize or handle.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the RibbonGallery instance is cast to an IWeakEventListener interface.

Applies to