Switched to an ObservableList in response to the change to Nuclex.Support
git-svn-id: file:///srv/devel/repo-conversion/nuwi@35 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
e504124d73
commit
b635bb21de
|
@ -60,7 +60,7 @@ namespace Nuclex.Windows.Forms {
|
||||||
public ContainerListView() {
|
public ContainerListView() {
|
||||||
this.embeddedControlClickedDelegate = new EventHandler(embeddedControlClicked);
|
this.embeddedControlClickedDelegate = new EventHandler(embeddedControlClicked);
|
||||||
|
|
||||||
this.embeddedControls = new ObservableCollection<ListViewEmbeddedControl>();
|
this.embeddedControls = new ObservableList<ListViewEmbeddedControl>();
|
||||||
this.embeddedControls.ItemAdded +=
|
this.embeddedControls.ItemAdded +=
|
||||||
new EventHandler<ItemEventArgs<ListViewEmbeddedControl>>(embeddedControlAdded);
|
new EventHandler<ItemEventArgs<ListViewEmbeddedControl>>(embeddedControlAdded);
|
||||||
this.embeddedControls.ItemRemoved +=
|
this.embeddedControls.ItemRemoved +=
|
||||||
|
@ -235,7 +235,7 @@ namespace Nuclex.Windows.Forms {
|
||||||
/// <summary>Event handler for when embedded controls are clicked on</summary>
|
/// <summary>Event handler for when embedded controls are clicked on</summary>
|
||||||
private EventHandler embeddedControlClickedDelegate;
|
private EventHandler embeddedControlClickedDelegate;
|
||||||
/// <summary>Controls being embedded in this ListView</summary>
|
/// <summary>Controls being embedded in this ListView</summary>
|
||||||
private ObservableCollection<ListViewEmbeddedControl> embeddedControls;
|
private ObservableList<ListViewEmbeddedControl> embeddedControls;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user