Condividi tramite


ITextFormattable.GetHighlightedTextRunProperties Method

Gets a set of text run properties that overrides the default set used to display text when this object is highlighted.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Dichiarazione
Function GetHighlightedTextRunProperties ( _
    defaultHighlightedTextRunProperties As TextRunProperties _
) As TextRunProperties
TextRunProperties GetHighlightedTextRunProperties(
    TextRunProperties defaultHighlightedTextRunProperties
)
TextRunProperties^ GetHighlightedTextRunProperties(
    TextRunProperties^ defaultHighlightedTextRunProperties
)
abstract GetHighlightedTextRunProperties : 
        defaultHighlightedTextRunProperties:TextRunProperties -> TextRunProperties 
function GetHighlightedTextRunProperties(
    defaultHighlightedTextRunProperties : TextRunProperties
) : TextRunProperties

Parameters

Return Value

Type: System.Windows.Media.TextFormatting.TextRunProperties
A set of TextRunProperties that should be used to display this object's highlighted text.

Remarks

A completion item is highlighted in the default statement completion presenter when it is fully selected. The properties selected to render the highlighted text should be chosen so that they do not clash with the style of the selection rectangle.

.NET Framework Security

See Also

Reference

ITextFormattable Interface

Microsoft.VisualStudio.Language.Intellisense Namespace