IClassificationFormatMap::DefaultTextProperties Property

 

Gets 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.

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

property TextFormattingRunProperties^ DefaultTextProperties {
	TextFormattingRunProperties^ get();
	void set(TextFormattingRunProperties^ value);
}

Property Value

Type: Microsoft.VisualStudio.Text.Formatting::TextFormattingRunProperties^

The default text properties.

The default text properties have the lowest priority. Properties associated with a IClassificationType will inherit properties of the DefaultTextProperties only if they do not provide the core necessary properties such as Typeface.

The DefaultTextProperties are guaranteed to contain a Typeface, ForegroundBrush and FontRenderingEmSize.

Return to top
Show: