RibbonFactory.CreateRibbonButton Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A RibbonButton represents a button on a custom Ribbon.
public:
Microsoft::Office::Tools::Ribbon::RibbonButton ^ CreateRibbonButton();
C#
public Microsoft.Office.Tools.Ribbon.RibbonButton CreateRibbonButton();
abstract member CreateRibbonButton : unit -> Microsoft.Office.Tools.Ribbon.RibbonButton
Public Function CreateRibbonButton () As RibbonButton
A Ribbon button.
Product | Versions |
---|---|
Visual Studio Tools for Office | 2017, 2019, 2022 |