Partilhar via


RibbonControlService.AddDismissPopupHandler Método

Definição

Adiciona um manipulador ao evento anexado DismissPopup.

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)

Parâmetros

element
DependencyObject

O objeto ao qual o evento anexado é adicionado.

handler
RibbonDismissPopupEventHandler

O manipulador de eventos.

Aplica-se a