This topic has not yet been rated - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.