共用方式為


CompletionPresenterStyle.SelectionTextRunProperties Property

Gets text run properties that are used to paint the text of the selected completion item.

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

Syntax

'宣告
Public Overridable Property SelectionTextRunProperties As TextRunProperties
public virtual TextRunProperties SelectionTextRunProperties { get; protected set; }
public:
virtual property TextRunProperties^ SelectionTextRunProperties {
    TextRunProperties^ get ();
    protected: void set (TextRunProperties^ value);
}
abstract SelectionTextRunProperties : TextRunProperties with get, set
override SelectionTextRunProperties : TextRunProperties with get, set
function get SelectionTextRunProperties () : TextRunProperties
protected function set SelectionTextRunProperties (value : TextRunProperties)

Property Value

Type: System.Windows.Media.TextFormatting.TextRunProperties
TextRunProperties .

Remarks

This TextRunProperties object must not conflict with the SelectionBackgroundBrush.

.NET Framework Security

See Also

Reference

CompletionPresenterStyle Class

Microsoft.VisualStudio.Language.Intellisense Namespace