PrintDocument for WinForms | ComponentOne
C1.Win.RibbonPreview.6 Assembly / C1.Win.RibbonPreview Namespace / BasePreviewElement Class / BasePreviewElement Constructor
C1RibbonPreview 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.

In This Topic
    BasePreviewElement Constructor
    In This Topic
    Initializes a new instance of a BasePreviewElement.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal rpc As C1RibbonPreview, _
       ByVal ribbonItem As C1.Win.Ribbon.RibbonItem, _
       ByVal action As RibbonPreviewAction, _
       Optional ByVal forMinimizedRibbon As Boolean _
    )
    public BasePreviewElement( 
       C1RibbonPreview rpc,
       C1.Win.Ribbon.RibbonItem ribbonItem,
       RibbonPreviewAction action,
       bool forMinimizedRibbon
    )

    Parameters

    rpc
    C1RibbonPreview 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.
    See Also