Share via


IntraTextAdornment.GetIsSelected Method

Gets the IsSelected value on the specified UIElement.

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

Syntax

'Déclaration
Public Shared Function GetIsSelected ( _
    element As UIElement _
) As Boolean
public static bool GetIsSelected(
    UIElement element
)
public:
static bool GetIsSelected(
    UIElement^ element
)
static member GetIsSelected : 
        element:UIElement -> bool 
public static function GetIsSelected(
    element : UIElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the element is selected, otherwise false.

.NET Framework Security

See Also

Reference

IntraTextAdornment Class

Microsoft.VisualStudio.Text.Editor Namespace