ComponentOne FlexReport for WinForms
ButtonActionElement Constructor

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

Parameters

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

Reference

ButtonActionElement Class
ButtonActionElement Members