C# Class Sphere.Core.Editor.Style

A styling object that can be applied when themeing the editor components.
Datei anzeigen Open project: Radnen/spherestudio Class Usage Examples

Public Properties

Property Type Description
Default Style

Public Methods

Method Description
Apply ( Control ctrl ) : void

Adds this style to the .NET control.

Style ( Color back, Color front, Font font = null ) : System.Drawing

Constructs a new instance of the style object.

Private Methods

Method Description
Style ( ) : System.Drawing

Method Details

Apply() public method

Adds this style to the .NET control.
public Apply ( Control ctrl ) : void
ctrl System.Windows.Forms.Control
return void

Style() public method

Constructs a new instance of the style object.
public Style ( Color back, Color front, Font font = null ) : System.Drawing
back System.Drawing.Color Back color.
front System.Drawing.Color Text color.
font System.Drawing.Font Font to use.
return System.Drawing

Property Details

Default public_oe static_oe property

Gets the default OS style.
public static Style,Sphere.Core.Editor Default
return Style