InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Framework Namespace / TextElement Class / TextElement Constructor / TextElement Constructor(Style,String)
Style used to measure and render the TextElement,
String displayed in the TextElement,

In This Topic
    TextElement Constructor(Style,String)
    In This Topic
    Initializes a new instance of a TextElement with a given style and contents.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal style As Style, _
       ByVal text As String _
    )
    public TextElement( 
       Style style,
       string text
    )

    Parameters

    style
    Style used to measure and render the TextElement,
    text
    String displayed in the TextElement,
    See Also