diff --git a/Terminal.Gui/Views/ListView.cs b/Terminal.Gui/Views/ListView.cs index bf2586185..1a9aff633 100644 --- a/Terminal.Gui/Views/ListView.cs +++ b/Terminal.Gui/Views/ListView.cs @@ -1,4 +1,6 @@ using System.Collections; +using System.Collections.ObjectModel; +using System.Collections.Specialized; using static Terminal.Gui.SpinnerStyle; namespace Terminal.Gui; @@ -6,6 +8,11 @@ namespace Terminal.Gui; /// Implement to provide custom rendering for a . public interface IListDataSource { + /// + /// Event to raise when an item is added, removed, or moved, or the entire list is refreshed. + /// + event NotifyCollectionChangedEventHandler CollectionChanged; + /// Returns the number of elements to display int Count { get; }