Class Label
Label text control
public class Label : Control, ICloneable
- Inheritance
-
objectLabel
- Implements
- Derived
- Inherited Members
Constructors
Label()
public Label()
Fields
ControlText
protected string ControlText
Field Value
Properties
Shadow
Whether to draw a shadow behind the text for better legibility
public bool Shadow { get; set; }
Property Value
Text
The text displayed on the control
public virtual string Text { get; set; }
Property Value
TextAlign
How the text is to be aligned horizontally - only effective for Label
public TextAlign TextAlign { get; set; }
Property Value
VerticalTextAlign
How the text is to be aligned vertically - only effective for Label
public VerticalTextAlign VerticalTextAlign { get; set; }
Property Value
Methods
Clone()
Creates a deep copy of this instance.
public override Control Clone()
Returns
CloneFromTo(Label, Label)
Copies all members declared by Label from one instance to another.
protected static void CloneFromTo(Label from, Label to)
Parameters
CloneLabel()
Creates a deep copy of this Label instance.
public Label CloneLabel()