Selector.SetIsSelected(DependencyObject, Boolean) Selector.SetIsSelected(DependencyObject, Boolean) Selector.SetIsSelected(DependencyObject, Boolean) Selector.SetIsSelected(DependencyObject, Boolean) Method

Definition

Sets a property value that indicates whether an item in a Selector is selected.

public:
 static void SetIsSelected(System::Windows::DependencyObject ^ element, bool isSelected);
public static void SetIsSelected (System.Windows.DependencyObject element, bool isSelected);
static member SetIsSelected : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsSelected (element As DependencyObject, isSelected As Boolean)

Parameters

element
DependencyObject DependencyObject DependencyObject DependencyObject

Object on which to set the property.

isSelected
Boolean Boolean Boolean Boolean

Value to set.

Applies to