Make it possible to gather values using scoped ItemConfiguration

This commit is contained in:
TheXamlGuy
2024-06-05 22:22:06 +01:00
parent 29509e9d7a
commit cc79be9acc
7 changed files with 27 additions and 9 deletions
+8
View File
@@ -1,4 +1,5 @@
using CommunityToolkit.Mvvm.ComponentModel;
using System.ComponentModel;
namespace Toolkit.Foundation;
@@ -140,4 +141,11 @@ public partial class Observable<TKey, TValue> : Observable
Key = key;
Value = value;
}
partial void OnValueChanged(TValue? value) => OnValueChanged();
protected virtual void OnValueChanged()
{
}
}