IThemeManager 接口
适用于版本2
表示用于管理编辑器主题的接口。
命名空间: Microsoft.WebMatrix.Extensibility.Editor
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Public Interface IThemeManager
用法
Dim instance As IThemeManager
public interface IThemeManager
public interface class IThemeManager
type IThemeManager = interface end
public interface IThemeManager
IThemeManager 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
CurrentEditorTheme | 获取当前在编辑器中应用的主题。 | |
CurrentTheme | 获取从主题文件中加载的当前主题。 |
页首
方法
名称 | 说明 | |
---|---|---|
Apply | 将主题应用于当前的活动编辑器。 | |
SaveAsDefault | 将主题保存到用户文件夹中,并将其设置为下次启动时的默认主题。 |
页首