Class VisualTheme
Represents a single color theme.
public class VisualTheme : IVisualTheme, IDisposable
- Inheritance
-
VisualTheme
- Implements
- Derived
Constructors
- VisualTheme()
Initailizes new instance of ColorTheme with default settings.
- VisualTheme(string, bool, MediaFont, ILexStyles)
Initializes new instance of ColorTheme with given parameters.
Properties
- Font
Gets or sets the font used for the color theme.
- ImagesColor
Gets or sets the type of background (light or dark) for the color theme.
- this[string]
Specifies an Item indexer that uses the name of the LexStyle as an index.
- LexStyles
Gets or sets the LexStyle array used for the color theme.
- LineStyles
Gets or sets the IEditLineStyle array used for the color theme.
- Name
Gets or sets the name of the color theme.
- ReadOnly
Gets or sets a bool value that indicates whether or not the color theme should be modified.
Methods
- ApplyLexStylesToEdit(TextEditor)
Assigns only lex style properties to a given
TextEditor
according to values stored in theIVisualTheme
.
- ApplyToCodeCompletionBox(ICodeCompletionBox)
Assigns color teme properties to a given
ICodeCompletionBox
according to values stored in theIVisualTheme
.
- ApplyToCodeCompletionButton(ICodeCompletionButton)
Assigns color teme properties to a given
ICodeCompletionButton
according to values stored in theIVisualTheme
.
- ApplyToCodeCompletionHint(ICodeCompletionHint)
Assigns color teme properties to a given
ICodeCompletionHint
according to values stored in theIVisualTheme
.
- ApplyToEdit(TextEditor)
Assigns color teme properties to a given
TextEditor
according to values stored in theIVisualTheme
.
- Assign(IVisualTheme)
Copies the content from another
IVisualTheme
object.
- Dispose()
Release resources of the
IVisualTheme
object.
- LoadFromEdit(TextEditor)
Changes values stored in the
IVisualTheme
accordingly to property values ofTextEditor
control.