Selector.SetIsSelected(DependencyObject, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.