Selector.GetIsSelected(DependencyObject) Selector.GetIsSelected(DependencyObject) Selector.GetIsSelected(DependencyObject) 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);
static member GetIsSelected : System.Windows.DependencyObject -> bool
Public Shared Function GetIsSelected (element As DependencyObject) As Boolean

Parameters

element
DependencyObject DependencyObject DependencyObject DependencyObject

Object to query concerning the IsSelected property.

Returns

Boolean value, true if the IsSelected property is true.

Applies to