Did you set the DataContext of your window?
If you declared the properties in the window's class, you can set the DataContext
to the window. Just add this line:
DataContext = this;
to the constructor of the window's class.
But, it is better to declare the properties in a different class and, set the DataContext
to that class. For more details, read about MVVM.
Another issue is the type of the collection. If you replace the ArrayList
with an ObservableCollection, your view also will be notified about the collection's changes.