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

    Parameters

    fv
    C1FlexViewer which owns the element.
    ribbonLabel
    A C1.Win.Ribbon.RibbonLabel 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