C# Class Sphere.Core.Editor.StyleSettings

Performs styling options on editor controls.
Datei anzeigen Open project: Radnen/spherestudio

Public Properties

Property Type Description
_activeStyle string

Public Methods

Method Description
AddStyle ( string name, StyleGroup group ) : void

Adds the named style to the internal style list.

ApplySecondaryStyle ( Control target ) : void

Puts the current style's secondarry options into the target control.

ApplyStyle ( Control target ) : void

Puts the current style into the target control.

RemoveStyle ( string name ) : void

Removes the associated style if it exist.

Private Methods

Method Description
StyleSettings ( ) : System

Method Details

AddStyle() public static method

Adds the named style to the internal style list.
public static AddStyle ( string name, StyleGroup group ) : void
name string Name of the style.
group StyleGroup The style to add.
return void

ApplySecondaryStyle() public static method

Puts the current style's secondarry options into the target control.
public static ApplySecondaryStyle ( Control target ) : void
target System.Windows.Forms.Control The .NET Form or Control to style.
return void

ApplyStyle() public static method

Puts the current style into the target control.
public static ApplyStyle ( Control target ) : void
target System.Windows.Forms.Control The .NET Form or Control to style.
return void

RemoveStyle() public static method

Removes the associated style if it exist.
public static RemoveStyle ( string name ) : void
name string Name of the style.
return void

Property Details

_activeStyle public_oe static_oe property

The current style being deployed to all forms affected by styling.
public static string _activeStyle
return string