Skip to content

Instantly share code, notes, and snippets.

@tomwis
Created August 17, 2017 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomwis/691886a8c67536d9f08917cd384b364e to your computer and use it in GitHub Desktop.
Save tomwis/691886a8c67536d9f08917cd384b364e to your computer and use it in GitHub Desktop.
// Właściwość w Mvvm Light - ręczne wywołanie RaisePropertyChanged
private List<int> _years;
public List<int> Years
{
get => _years;
set
{
if(_years == value) return;
_years = value;
RaisePropertyChanged(nameof(Years));
}
}
// Właściwość z Fody
public List<int> Years { get; set; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment