Table of Contents

Class Label

Namespace
OmegaGUI.Model
Assembly
OmegaGUI.dll

Label text control

public class Label : Control, ICloneable
Inheritance
object
Label
Implements
Derived
Inherited Members

Constructors

Label()

public Label()

Fields

ControlText

protected string ControlText

Field Value

string

Properties

Shadow

Whether to draw a shadow behind the text for better legibility

public bool Shadow { get; set; }

Property Value

bool

Text

The text displayed on the control

public virtual string Text { get; set; }

Property Value

string

TextAlign

How the text is to be aligned horizontally - only effective for Label

public TextAlign TextAlign { get; set; }

Property Value

TextAlign

VerticalTextAlign

How the text is to be aligned vertically - only effective for Label

public VerticalTextAlign VerticalTextAlign { get; set; }

Property Value

VerticalTextAlign

Methods

Clone()

Creates a deep copy of this instance.

public override Control Clone()

Returns

Control

CloneFromTo(Label, Label)

Copies all members declared by Label from one instance to another.

protected static void CloneFromTo(Label from, Label to)

Parameters

from Label
to Label

CloneLabel()

Creates a deep copy of this Label instance.

public Label CloneLabel()

Returns

Label

The new copy of the Label.