Class Label
Label text control
public class Label : Control
- Inheritance
-
Label
- Derived
- Inherited Members
- Extension Methods
Constructors
Label(Dialog)
Create a new instance of a static text control
public Label(Dialog parent)
Parameters
parentDialog
Fields
textData
protected string textData
Field Value
Properties
TextAlign
public TextAlign TextAlign { get; set; }
Property Value
Methods
GetTextCopy()
Return a copy of the string
public string GetTextCopy()
Returns
Render(Device, float)
Render this control
public override void Render(Device device, float elapsedTime)
Parameters
deviceDeviceelapsedTimefloat
SetText(string)
Sets the updated text for this control
public void SetText(string newText)
Parameters
newTextstring