This documentation is archived and is not being maintained.

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)

public interface IEditorFormatMap

The IEditorFormatMap type exposes the following members.

  NameDescription
Public propertyIsInBatchUpdateDetermines whether this IEditorFormatMap is in the middle of a batch update.
Top

  NameDescription
Public methodAddPropertiesAdds a ResourceDictionary for a new key.
Public methodBeginBatchUpdateBegins a batch update on this IEditorFormatMap. Events will not be raised until EndBatchUpdate is called.
Public methodEndBatchUpdateEnds a batch update on this IEditorFormatMap and raises an event if any changes were made during the batch update.
Public methodGetPropertiesGets a ResourceDictionary for the specified key.
Public methodSetPropertiesSets the ResourceDictionary of a key.
Top

  NameDescription
Public eventFormatMappingChangedOccurs when this IEditorFormatMap changes.
Top
Show: