[]
        
(Showing Draft Content)

C1.Win.FlexViewer.ButtonActionElement.-ctor

ButtonActionElement Constructor

ButtonActionElement(C1FlexViewer, RibbonIconItem, FlexViewerAction, bool, bool)

Initializes a new instance of a ButtonActionElement.

Declaration
public ButtonActionElement(C1FlexViewer fv, RibbonIconItem ribbonItem, FlexViewerAction action, bool forMinimizedRibbon = false, bool visibleDefault = true)
Parameters
Type Name Description
C1FlexViewer fv

C1FlexViewer which owns the element.

RibbonIconItem ribbonItem

A C1.Win.Ribbon.RibbonItem associated with the element.

FlexViewerAction action

The element action.

bool forMinimizedRibbon

Indicates if the item should appear only when the Ribbon is minimized.

bool visibleDefault

Indicates if the item should be visible by default.