C# Класс Sphere.Core.Editor.StyleSettings

Performs styling options on editor controls.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
_activeStyle string

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
StyleSettings ( ) : System

Описание методов

AddStyle() публичный статический Метод

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.
Результат void

ApplySecondaryStyle() публичный статический Метод

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.
Результат void

ApplyStyle() публичный статический Метод

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.
Результат void

RemoveStyle() публичный статический Метод

Removes the associated style if it exist.
public static RemoveStyle ( string name ) : void
name string Name of the style.
Результат void

Описание свойств

_activeStyle публичное статическое свойство

The current style being deployed to all forms affected by styling.
public static string _activeStyle
Результат string