Szerkesztés

Megosztás a következőn keresztül:


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

Object on which to set the property.

isSelected
Boolean

Value to set.

Applies to