C# Class Sphere.Core.Editor.EditorLabel

A label with a blue-themed background.
Inheritance: System.Windows.Forms.Label, IStyleable
Datei anzeigen Open project: Radnen/spherestudio

Public Methods

Method Description
EditorLabel ( ) : System.Drawing

Constructs a new instance of an EditorLabel.

UpdateStyle ( ) : void

Updates the style of this label to one of the built-in styles.

Protected Methods

Method Description
OnCreateControl ( ) : void
OnPaintBackground ( PaintEventArgs pevent ) : void

Overrides the default background to draw a classy blue background.

Method Details

EditorLabel() public method

Constructs a new instance of an EditorLabel.
public EditorLabel ( ) : System.Drawing
return System.Drawing

OnCreateControl() protected method

protected OnCreateControl ( ) : void
return void

OnPaintBackground() protected method

Overrides the default background to draw a classy blue background.
protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
return void

UpdateStyle() public method

Updates the style of this label to one of the built-in styles.
public UpdateStyle ( ) : void
return void