Compartilhar via


Método IntraTextAdornment.GetIsSelected

Obtém o valor de IsSelected no usuário UIElement.

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

Sintaxe

'Declaração
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

Parâmetros

  • element
    Tipo: UIElement

    O elemento.

Valor de retorno

Tipo: Boolean
true Se o elemento for selecionado, caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

IntraTextAdornment Classe

Namespace Microsoft.VisualStudio.Text.Editor