Method SetSelectedItems
SetSelectedItems(DependencyObject, INotifyCollectionChanged)
Sets the value of the SelectedItemsProperty attached property to the specified DependencyObject.
public static void SetSelectedItems(DependencyObject obj, INotifyCollectionChanged value)
Parameters
obj
DependencyObjectThe DependencyObject to which to set the value.
value
INotifyCollectionChangedThe value to set.