FlexReport for WinForms | ComponentOne
C1.Win.FlexViewer.4.8 Assembly / C1.Win.FlexViewer Namespace / BaseActionElement Class / BaseActionElement Constructor
C1FlexViewer which owns the element.
A 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
    BaseActionElement Constructor
    In This Topic
    Initializes a new instance of a BaseActionElement.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal fv As C1FlexViewer, _
       ByVal ribbonItem As C1.Win.Ribbon.RibbonItem, _
       ByVal action As FlexViewerAction, _
       Optional ByVal forMinimizedRibbon As Boolean, _
       Optional ByVal visibleDefault As Boolean _
    )
    public BaseActionElement( 
       C1FlexViewer fv,
       C1.Win.Ribbon.RibbonItem ribbonItem,
       FlexViewerAction action,
       bool forMinimizedRibbon,
       bool visibleDefault
    )

    Parameters

    fv
    C1FlexViewer which owns the element.
    ribbonItem
    A 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