FlexReport for WinForms | ComponentOne
C1.Win.FlexViewer.4.8 Assembly / C1.Win.FlexViewer Namespace / ButtonActionElement Class / ButtonActionElement Constructor
C1FlexViewer 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.
Indicates if the item should be visible by default.

In This Topic
    ButtonActionElement Constructor
    In This Topic
    Initializes a new instance of a ButtonActionElement.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal fv As C1FlexViewer, _
       ByVal ribbonItem As C1.Win.Ribbon.RibbonIconItem, _
       ByVal action As FlexViewerAction, _
       Optional ByVal forMinimizedRibbon As Boolean, _
       Optional ByVal visibleDefault As Boolean _
    )
    public ButtonActionElement( 
       C1FlexViewer fv,
       C1.Win.Ribbon.RibbonIconItem ribbonItem,
       FlexViewerAction action,
       bool forMinimizedRibbon,
       bool visibleDefault
    )

    Parameters

    fv
    C1FlexViewer 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.
    visibleDefault
    Indicates if the item should be visible by default.
    See Also