Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RibbonButton.OnClick Method ()

.NET Framework (current version)
 

Handles the Click event and raises the RibbonControlService.DismissPopup attached event.

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

protected override void OnClick()

This method calls the base method and then raises the RibbonControlService.DismissPopup attached event.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft