IClassificationFormatMap Interface

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

public interface IClassificationFormatMap

The IClassificationFormatMap type exposes the following members.

  NameDescription
Public propertyCurrentPriorityOrderGets a read-only list of the IClassificationType objects supported by this format map, sorted by priority.
Public propertyDefaultTextPropertiesGets or sets the default properties that are applied to all classification types. The default properties contain the set of minimal properties required to render text properly.
Public propertyIsInBatchUpdateDetermines whether this IClassificationFormatMap is in the middle of a batch update.
Top

  NameDescription
Public methodAddExplicitTextProperties(IClassificationType, TextFormattingRunProperties)Adds a TextFormattingRunProperties to a new IClassificationType.
Public methodAddExplicitTextProperties(IClassificationType, TextFormattingRunProperties, IClassificationType)Adds a TextFormattingRunProperties to a new IClassificationType.
Public methodBeginBatchUpdateBegins a batch update on this IClassificationFormatMap. Events will not be raised until EndBatchUpdate is called.
Public methodEndBatchUpdateEnds a batch update on this IClassificationFormatMap and raises an event if any changes were made during the batch update.
Public methodGetEditorFormatMapKeyGets the key used to store the associated properties of classificationType in the underlying IEditorFormatMap.
Public methodGetExplicitTextPropertiesGets the explicit TextFormattingRunProperties for the specified classification type.
Public methodGetTextPropertiesGets the TextFormattingRunProperties for a given text classification type.
Public methodSetExplicitTextPropertiesSets the explicit TextFormattingRunProperties of an IClassificationType.
Public methodSetTextPropertiesSets the TextFormattingRunProperties of an IClassificationType.
Public methodSwapPrioritiesSwitches the priorities of two IClassificationType objects.
Top

  NameDescription
Public eventClassificationFormatMappingChangedOccurs when this IClassificationFormatMap changes.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft