Partilhar via


Selector.GetIsSelected(DependencyObject) Método

Definição

Obtém o valor da propriedade anexada IsSelected que indica se um item está selecionado.

public:
 static bool GetIsSelected(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForChildren]
public static bool GetIsSelected (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForChildren>]
static member GetIsSelected : System.Windows.DependencyObject -> bool
Public Shared Function GetIsSelected (element As DependencyObject) As Boolean

Parâmetros

element
DependencyObject

Objeto a ser consultado referente à propriedade IsSelected.

Retornos

Boolean

Valor booliano, true se a propriedade IsSelected for true.

Atributos

Aplica-se a