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)
Syntax
'Declaração
Property DefaultTextProperties As TextFormattingRunProperties
TextFormattingRunProperties DefaultTextProperties { get; set; }
property TextFormattingRunProperties^ DefaultTextProperties {
TextFormattingRunProperties^ get ();
void set (TextFormattingRunProperties^ value);
}
abstract DefaultTextProperties : TextFormattingRunProperties with get, set
function get DefaultTextProperties () : TextFormattingRunProperties
function set DefaultTextProperties (value : TextFormattingRunProperties)
Property Value
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The default text properties.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.