Partilhar via


IThemeManager Interface

Applies to v2.

Represents an interface for managing editor themes.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Interface IThemeManager
'Usage
Dim instance As IThemeManager
public interface IThemeManager
public interface class IThemeManager
type IThemeManager =  interface end
public interface IThemeManager

The IThemeManager type exposes the following members.

Properties

  Name Description
Public property CurrentEditorTheme Gets the theme currently applied at the editor.
Public property CurrentTheme Gets the current theme loaded from a theme file.

Top

Methods

  Name Description
Public method Apply Applies the theme to the current live editor.
Public method SaveAsDefault Saves the theme to the users folder, and sets it as the default theme for next startup.

Top

See Also

Reference

Microsoft.WebMatrix.Extensibility.Editor Namespace