18 lines
416 B
C#
18 lines
416 B
C#
namespace Common.UI.ViewModels
|
|
{
|
|
using Common.UI.Infrastructure;
|
|
|
|
using System;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
public class GridItem<T> : VM<T> where T : GridItem<T>
|
|
{
|
|
protected void Set(Action propertySetterCallback, [CallerMemberName] string property = "")
|
|
{
|
|
propertySetterCallback();
|
|
|
|
this.NotifyPropertyChanged(property);
|
|
}
|
|
}
|
|
}
|