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, Font, 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(ISyntaxEdit)
Assigns only lex style properties to a given
ISyntaxEdit
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(ISyntaxEdit)
Assigns color teme properties to a given
ISyntaxEdit
according to values stored in theIVisualTheme
.
- ApplyToScrollBar(ScrollBar)
Assigns color teme properties to a given
ScrollBar
according to values stored in theIVisualTheme
.
- ApplyToScrollingButton(IScrollingButton)
Assigns color teme properties to a given
IScrollingButton
according to values stored in theIVisualTheme
.
- ApplyToSearchDialog(ISearchDialog)
Assigns color teme properties to a given
ISearchDialog
according to values stored in theIVisualTheme
.
- ApplyToSplitButton(IScrollingButton)
Assigns color teme properties to a given
IScrollingButton
according to values stored in theIVisualTheme
.
- Assign(IVisualTheme)
Copies the content from another
IVisualTheme
object.
- Dispose()
Release resources of the
IVisualTheme
object.
- LoadFromEdit(ISyntaxEdit)
Changes values stored in the
IVisualTheme
accordingly to property values ofISyntaxEdit
control.