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
objDependencyObjectThe DependencyObject to which to set the value.
valueINotifyCollectionChangedThe value to set.