Freigeben über


RibbonControlService.AddDismissPopupHandler-Methode

Fügt einen Handler für das angefügte DismissPopup-Ereignis hinzu.

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

Syntax

'Declaration
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
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

RibbonControlService Klasse

Microsoft.Windows.Controls.Ribbon-Namespace