Partager via


IntraTextAdornmentTag.Adornment Property

Gets the adornment to be displayed at the position of the tag. Must not be nulla null reference (Nothing in Visual Basic).

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

Syntax

'Déclaration
Public Property Adornment As UIElement
public UIElement Adornment { get; private set; }
public:
property UIElement^ Adornment {
    UIElement^ get ();
    private: void set (UIElement^ value);
}
member Adornment : UIElement with get, private set
function get Adornment () : UIElement
private function set Adornment (value : UIElement)

Property Value

Type: System.Windows.UIElement
The adornment to be displayed at the position of the tag. Must not be nulla null reference (Nothing in Visual Basic).

Remarks

This adornment is added to the view. Windows Presentation Foundation (WPF) elements can be parented only in one place in the visual tree. Do not add instances of this adornment to any other part of the WPF user interface (UI).

.NET Framework Security

See Also

Reference

IntraTextAdornmentTag Class

Microsoft.VisualStudio.Text.Editor Namespace