RibbonGalleryCategory.IWeakEventListener.ReceiveWeakEvent Method (Type, Object, EventArgs)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Receives events from the centralized event manager.

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

bool IWeakEventListener.ReceiveWeakEvent(
	Type managerType,
	object sender,
	EventArgs e


Type: System.Type

The type of the WeakEventManager calling this method.

Type: System.Object

The object that originated the event.

Type: System.EventArgs

The event data.

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 4.5
Return to top