Input for WinForms | ComponentOne
C1.Framework Namespace / RepeatButtonElement 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 Overridable Function GetTextElement( _
       ByVal force As Boolean _
    ) As TextElement
    public virtual 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