ComponentOne FlexReport for WinForms
LabelActionElement Constructor

C1.Win.FlexViewer.4 Assembly > C1.Win.FlexViewer Namespace > LabelActionElement Class : LabelActionElement Constructor
C1FlexViewer which owns the element.
A C1.Win.C1Ribbon.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.
Initializes a new instance of a LabelActionElement.
Syntax
'Declaration
 
Public Function New( _
   ByVal fv As C1FlexViewer, _
   ByVal ribbonLabel As C1.Win.C1Ribbon.RibbonLabel, _
   ByVal action As FlexViewerAction, _
   Optional ByVal forMinimizedRibbon As System.Boolean, _
   Optional ByVal visibleDefault As System.Boolean _
)
public LabelActionElement( 
   C1FlexViewer fv,
   C1.Win.C1Ribbon.RibbonLabel ribbonLabel,
   FlexViewerAction action,
   System.bool forMinimizedRibbon,
   System.bool visibleDefault
)

Parameters

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

Reference

LabelActionElement Class
LabelActionElement Members