|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace Utility.AutoPropertyChangedNotification
{
#region ImplementPropertyChanged Class
/// <summary>
/// This class is the base class for classes making use of the AutoProperty IPropertyChangedNotification implementation.
/// Derive your property-exposing class from this.
/// </summary>
public class ImplementsPropertyChanged : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public void OnPropertyChanged(PropertyChangedEventArgs args)
{
if (PropertyChanged!=null)
PropertyChanged(this, args);
}
}
#endregion
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am working with computers for quite a long time now, starting with BASIC on an old "Acorn Electron".
Then i continued with C and moved quickly on to C++ with some Java in the mean time.
Now, my personal favorite is C# and i love especially WPF and its versatileness, as well as the TPL. I'm still on a quite steep learning curve, but thanks to this community (among others of course
) i'm doing okay.