Bewerken

Share via


Selector.GetIsSelected(DependencyObject) Method

Definition

Gets the value of the IsSelected attached property that indicates whether an item is selected.

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

Parameters

element
DependencyObject

Object to query concerning the IsSelected property.

Returns

Boolean value, true if the IsSelected property is true.

Attributes

Applies to