[]
        
(Showing Draft Content)

C1.Framework.ButtonElement.GetTextElement

GetTextElement Method

GetTextElement()

Returns reference to the TextElement used to display text.

Declaration
public TextElement GetTextElement()
Public Function GetTextElement() As TextElement
Returns
Type Description
TextElement

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

GetTextElement(bool)

Returns reference to the TextElement used to display text.

Declaration
public virtual TextElement GetTextElement(bool force)
Public Overridable Function GetTextElement(force As Boolean) As TextElement
Parameters
Type Name Description
bool force

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

Returns
Type Description
TextElement

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