IClassificationFormatMap.DefaultTextProperties Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ DefaultTextProperties { Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ get(); void set(Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ value); };
public Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties DefaultTextProperties { get; set; }
member this.DefaultTextProperties : Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties with get, set
Public Property DefaultTextProperties As TextFormattingRunProperties
Property Value
The default text properties.
Remarks
The default text properties have the lowest priority. Properties associated with a IClassificationType will only inherit properties of the DefaultTextProperties if they don't provide the core necessary properties such as Typeface.
The DefaultTextProperties are guaranteed to contain a Typeface, ForegroundBrush and FontRenderingEmSize