Condividi tramite


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

'Declaration
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
Public property IsInBatchUpdate Determines whether this IEditorFormatMap is in the middle of a batch update.

Top

Methods

  Name Description
Public method AddProperties Adds a ResourceDictionary for a new key.
Public method BeginBatchUpdate Begins a batch update on this IEditorFormatMap. Events will not be raised until EndBatchUpdate is called.
Public method EndBatchUpdate Ends a batch update on this IEditorFormatMap and raises an event if any changes were made during the batch update.
Public method GetProperties Gets a ResourceDictionary for the specified key.
Public method SetProperties Sets the ResourceDictionary of a key.

Top

Events

  Name Description
Public event FormatMappingChanged Occurs when this IEditorFormatMap changes.

Top

See Also

Reference

Microsoft.VisualStudio.Text.Classification Namespace