TreeView for WinForms | ComponentOne
C1.Framework Namespace / ExpandButtonElement Class / GetTextElement Method / GetTextElement(Boolean) Method
If True and the TextElement doesn't exist, this method will create it.

In This Topic
    GetTextElement(Boolean) Method
    In This Topic
    Returns reference to the TextElement used to display text.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetTextElement( _
       ByVal force As Boolean _
    ) As TextElement
    public TextElement GetTextElement( 
       bool force
    )

    Parameters

    force
    If True and the TextElement doesn't exist, this method will create it.

    Return Value

    The reference to the TextElement if it exists; Null otherwise.
    See Also