Skip to content

Auto complete properties setter NotifyPropertyChanged in WPF

License

Notifications You must be signed in to change notification settings

qtbui159/QtPropertyObserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QtPropertyObserver

Auto complete properties setter NotifyPropertyChanged in WPF

You can get the library from nuget or build this project

Code sample:

class MainViewModel : INotifyPropertyChanged
{
    public event PropertyChangedEventHandler PropertyChanged;

    [RaisePropertyChanged]
    public int ValueA { get; set;}
}

QtPropertyObserver.Complete<MainViewModel>(); //<-- make it works

//Now, when ValueA is changed, the library will call PropertyChanged automatically
//And there are three Attributes can help this library works well.

Get more infomation on sample solution :)

提供了3个Attributes来完成功能,用法可以参考sample项目

About

Auto complete properties setter NotifyPropertyChanged in WPF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages