PrintDocument for WinForms | ComponentOne
C1.Win.RibbonPreview.4.8 Assembly / C1.Win.RibbonPreview Namespace / TextBoxPreviewElement Class / TextBoxPreviewElement Constructor
C1RibbonPreview which owns the element.
A C1.Win.Ribbon.RibbonTextBox associated with the element.
The element action.
Indicates if the item should appear only when the Ribbon is minimized.

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

    Parameters

    rpc
    C1RibbonPreview which owns the element.
    ribbonTextBox
    A C1.Win.Ribbon.RibbonTextBox associated with the element.
    action
    The element action.
    forMinimizedRibbon
    Indicates if the item should appear only when the Ribbon is minimized.
    See Also