IClassificationFormatMap::SetExplicitTextProperties Method (IClassificationType^, TextFormattingRunProperties^)
Visual Studio 2015
Sets the explicit TextFormattingRunProperties of an IClassificationType.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
void SetExplicitTextProperties(
IClassificationType^ classificationType,
TextFormattingRunProperties^ properties
)
Parameters
- classificationType
-
Type:
Microsoft.VisualStudio.Text.Classification::IClassificationType^
The IClassificationType.
- properties
-
Type:
Microsoft.VisualStudio.Text.Formatting::TextFormattingRunProperties^
The new properties.
Setting the text properties will cause the ClassificationFormatMappingChanged event to be sent.
Provided values in properties will be set for the provided classificationType and override any inherited values. If you wish to keep the inheritance structure and only override the set of varying properties, please use SetTextProperties.
Show: