PrintDocument for WinForms | ComponentOne
C1.Win.RibbonPreview.8 Assembly / C1.Win.RibbonPreview Namespace / ButtonPreviewElement Class / ButtonPreviewElement Constructor
C1RibbonPreview which owns the element.
A C1.Win.Ribbon.RibbonItem associated with the element.
The element action.
Indicates if the item should appear only when the Ribbon is minimized.

In This Topic
    ButtonPreviewElement Constructor
    In This Topic
    Initializes a new instance of a ButtonPreviewElement.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal rpc As C1RibbonPreview, _
       ByVal ribbonItem As C1.Win.Ribbon.RibbonIconItem, _
       ByVal action As RibbonPreviewAction, _
       Optional ByVal forMinimizedRibbon As Boolean _
    )
    public ButtonPreviewElement( 
       C1RibbonPreview rpc,
       C1.Win.Ribbon.RibbonIconItem ribbonItem,
       RibbonPreviewAction action,
       bool forMinimizedRibbon
    )

    Parameters

    rpc
    C1RibbonPreview which owns the element.
    ribbonItem
    A C1.Win.Ribbon.RibbonItem associated with the element.
    action
    The element action.
    forMinimizedRibbon
    Indicates if the item should appear only when the Ribbon is minimized.
    See Also