Selector.SetIsSelected(DependencyObject, Boolean) Metoda

Definice

Nastaví hodnotu vlastnosti, která označuje, zda je vybrána položka v objektu Selector .

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)

Parametry

element
DependencyObject

Objekt, na kterém se má vlastnost nastavit.

isSelected
Boolean

Hodnota, která se má nastavit.

Platí pro