RibbonControlService.AddDismissPopupHandler Method

Definition

Adds a handler for the DismissPopup attached event.

public:
 static void AddDismissPopupHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::Ribbon::RibbonDismissPopupEventHandler ^ handler);
public static void AddDismissPopupHandler (System.Windows.DependencyObject element, System.Windows.Controls.Ribbon.RibbonDismissPopupEventHandler handler);
static member AddDismissPopupHandler : System.Windows.DependencyObject * System.Windows.Controls.Ribbon.RibbonDismissPopupEventHandler -> unit
Public Shared Sub AddDismissPopupHandler (element As DependencyObject, handler As RibbonDismissPopupEventHandler)

Parameters

element
DependencyObject

The object to which the attached event is added.

handler
RibbonDismissPopupEventHandler

The event handler.

Applies to