public static IList GetSelectedItemsSource(DependencyObject element) { if (element == null) throw new ArgumentNullException("element"); return (IList)element.GetValue(SelectedItemsSourceProperty); }