This commit is contained in:
TheXamlGuy
2024-05-04 22:35:12 +01:00
parent fe07d9e994
commit 53efbb13c5
7 changed files with 146 additions and 6 deletions
@@ -97,7 +97,7 @@ public partial class ObservableCollectionViewModel<TViewModel> :
public TViewModel this[int index]
{
get => collection[index];
get => Count > 0 ? collection[index] : default;
set => SetItem(index, value);
}