An app I\'m working on requires a ConverterParameter to be an enum. For this, the regular way to do would be:
{Binding whatever,
Converter={StaticResour
This is an answer utilizing resources and without Converters:
View:
EnumNamedConstant
ViewModel
public RelayCommand DoSomethingCommand { get; }
public SomeViewModel()
{
DoSomethingCommand = new RelayCommand(DoSomethingCommandAction);
}
private void DoSomethingCommandAction(EnumType _enumNameConstant)
{
// Logic
.........................
}