Compartilhar via


Método RibbonControlService.AddDismissPopupHandler

Adiciona um manipulador para o DismissPopup anexado do evento.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (em RibbonControlsLibrary.dll)

Sintaxe

'Declaração
Public Shared Sub AddDismissPopupHandler ( _
    element As DependencyObject, _
    handler As RibbonDismissPopupEventHandler _
)
public static void AddDismissPopupHandler(
    DependencyObject element,
    RibbonDismissPopupEventHandler handler
)
public:
static void AddDismissPopupHandler(
    DependencyObject^ element, 
    RibbonDismissPopupEventHandler^ handler
)
static member AddDismissPopupHandler : 
        element:DependencyObject * 
        handler:RibbonDismissPopupEventHandler -> unit 
public static function AddDismissPopupHandler(
    element : DependencyObject, 
    handler : RibbonDismissPopupEventHandler
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

RibbonControlService Classe

Namespace Microsoft.Windows.Controls.Ribbon