Irgendwie dies funktioniert nicht zur Laufzeit (aber es kompiliert):ObservableCollection von ObservableCollection Erklärung
public static readonly DependencyProperty SelectedVideoFileNamesProperty =
DependencyProperty.Register("SelectedVideoFileNames", typeof(ObservableCollection<ObservableCollection<string>>), typeof(CMiX_UI),
new PropertyMetadata(new[]{new ObservableCollection<string>(),
new ObservableCollection<string>(),
new ObservableCollection<string>(),
new ObservableCollection<string>(),
new ObservableCollection<string>(),
new ObservableCollection<string>()}));
[Bindable(true)]
public ObservableCollection<ObservableCollection<string>> SelectedVideoFileNames
{
get { return (ObservableCollection<ObservableCollection<string>>)this.GetValue(SelectedVideoFileNamesProperty); }
set { this.SetValue(SelectedVideoFileNamesProperty, value); }
}
Warum? danke