'Declaration
Public Function New( _ ByVal caption As String, _ ByVal description As String, _ ByVal largeImage As Image, _ ByVal smallImage As Image, _ ByVal buttonCallback As RibbonButton.ButtonCallback _ )
'Usage
Dim caption As String Dim description As String Dim largeImage As Image Dim smallImage As Image Dim buttonCallback As RibbonButton.ButtonCallback Dim instance As New RibbonButton(caption, description, largeImage, smallImage, buttonCallback)
public RibbonButton( string caption, string description, Image largeImage, Image smallImage, RibbonButton.ButtonCallback buttonCallback )
public: RibbonButton( String^ caption, String^ description, Image^ largeImage, Image^ smallImage, RibbonButton.ButtonCallback^ buttonCallback )
Parameters
- caption
- The visible display text that appears below this ribbon button.
- description
- Additional display text that appears within the tooltip this ribbon button.
- largeImage
- The primary visible image that appears within this button's hitbox.
- smallImage
- The secondary visible image that appears whenever this button is pinned to the quick access toolbar.
- buttonCallback
- The action that is invoked whenever this button is clicked in the user interface.