从任意键映射到 ResourceDictionary。
命名空间: Microsoft.VisualStudio.Text.Classification
程序集: Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
语法
声明
Public Interface IEditorFormatMap
public interface IEditorFormatMap
public interface class IEditorFormatMap
type IEditorFormatMap = interface end
public interface IEditorFormatMap
IEditorFormatMap 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
IsInBatchUpdate | 确定 IEditorFormatMap 是否处于批量更新中。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
AddProperties | 为新键添加一个 ResourceDictionary。 |
![]() |
BeginBatchUpdate | 开始对 IEditorFormatMap 进行批量更新。在调用 EndBatchUpdate 之前,不会引发事件。 |
![]() |
EndBatchUpdate | 结束对 IEditorFormatMap 的批量更新,如果批量更新期间进行了任何更改,则会引发一个事件。 |
![]() |
GetProperties | 获取指定键的 ResourceDictionary。 |
![]() |
SetProperties | 设置键的 ResourceDictionary。 |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
FormatMappingChanged | 当 IEditorFormatMap 更改时发生。 |
页首