mrousavy / Jellyfish

🐟 An incredibly lightweight and type safe MVVM library for .NET WPF, Silverlight, Xamarin and UWP
MIT License
20 stars 3 forks source link

Allow easy DependencyProperty creation #5

Open mrousavy opened 6 years ago

mrousavy commented 6 years ago

Create Dependency Properties easily by either using Attributes or Wrapper classes:

Example:

[DependencyProperty]
public string Username { get; set; }

or

private string _username;
public string Username
{
    get => _username;
    set => SetDependencyProperty(ref _username, value);
}