IEditorFormatMap Interface
Maps from arbitrary keys to a ResourceDictionary.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Public Interface IEditorFormatMap
public interface IEditorFormatMap
public interface class IEditorFormatMap
type IEditorFormatMap = interface end
public interface IEditorFormatMap
The IEditorFormatMap type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsInBatchUpdate | Determines whether this IEditorFormatMap is in the middle of a batch update. |
Top
Methods
Name | Description | |
---|---|---|
AddProperties | Adds a ResourceDictionary for a new key. | |
BeginBatchUpdate | Begins a batch update on this IEditorFormatMap. Events will not be raised until EndBatchUpdate is called. | |
EndBatchUpdate | Ends a batch update on this IEditorFormatMap and raises an event if any changes were made during the batch update. | |
GetProperties | Gets a ResourceDictionary for the specified key. | |
SetProperties | Sets the ResourceDictionary of a key. |
Top
Events
Name | Description | |
---|---|---|
FormatMappingChanged | Occurs when this IEditorFormatMap changes. |
Top