diff --git a/sandbox/ConsoleApp/Program.cs b/sandbox/ConsoleApp/Program.cs index acc7987..b318bca 100644 --- a/sandbox/ConsoleApp/Program.cs +++ b/sandbox/ConsoleApp/Program.cs @@ -81,6 +81,9 @@ public void OnCollectionChanged( case ChangedKind.Move: view.Value += $" Move {eventArgs.OldStartingIndex} {eventArgs.NewStartingIndex}"; break; + case ChangedKind.Clear: + view.Value += $" Clear"; + break; default: throw new ArgumentOutOfRangeException(nameof(changedKind), changedKind, null); } diff --git a/sandbox/WpfApp/MainWindow.xaml b/sandbox/WpfApp/MainWindow.xaml index a9a07e9..bacd151 100644 --- a/sandbox/WpfApp/MainWindow.xaml +++ b/sandbox/WpfApp/MainWindow.xaml @@ -6,15 +6,19 @@ xmlns:local="clr-namespace:WpfApp" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> - + + + + +