/// <inheritdoc /> public void Clear() { ViewModels.Clear(); EncapsulatedList.Clear(); OnAllPropertiesChanged(); CollectionChanged?.Invoke(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); ClearItemCsommand.OnCanExecuteChanged(); RemoveItemCommand.OnCanExecuteChanged(); }