Skip to content

Instantly share code, notes, and snippets.

@PatrickRainer
Created May 13, 2022 10:57
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 PatrickRainer/a4d3bdce8fd4af21fc4bf014e11e95d5 to your computer and use it in GitHub Desktop.
Save PatrickRainer/a4d3bdce8fd4af21fc4bf014e11e95d5 to your computer and use it in GitHub Desktop.
public IEnumerable<LicenseType> LicenseTypes =>
Enum.GetValues(typeof(LicenseType))
.Cast<LicenseType>();
public LicenseType SelectedLicenseType
{
get => _selectedLicenseType;
set
{
_selectedLicenseType = value;
OnPropertyChanged(nameof(SelectedLicenseType));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment