Sic.Framework-Nanjing-Baishi/MECF.Framework.Common/Aitex/Core/UI/ControlDataContext/ControlDataItemBase.cs

18 lines
391 B
C#
Raw Normal View History

2023-04-13 11:51:03 +08:00
using System.ComponentModel;
namespace Aitex.Core.UI.ControlDataContext
{
public class ControlDataItemBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public void InvokePropertyChanged(string propertyName)
{
if (this.PropertyChanged != null)
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
}