RibbonFactory.CreateRibbonButton Method
A RibbonButton represents a button on a custom Ribbon.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function CreateRibbonButton As RibbonButton
RibbonButton CreateRibbonButton()
Return Value
Type: Microsoft.Office.Tools.Ribbon.RibbonButton
A Ribbon button.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.