protected virtual void Button_Click(object sender, RoutedEventArgs e) { var editor = new CollectionControlDialog(_item.PropertyType); _item.SetBinding(PropertyItem.ValueProperty, new Binding("ItemsSource") { Source = editor, Mode = BindingMode.TwoWay }); editor.ShowDialog(); }