IClassificationFormatMap.SetExplicitTextProperties Method (IClassificationType, TextFormattingRunProperties)

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

void SetExplicitTextProperties(
	IClassificationType classificationType,
	TextFormattingRunProperties 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.


Return to top