Doh! Sorry - this obviously wasn't taken from working code. Should be:
List<RoutedUICommands> SupportedCommands = new List<RoutedUICommands>();
>Silly question, completely unrelated to your question. What does this line do?
>
>>
List<RoutedUICommands>() SupportedCommands;
>
>
>>SupportedCommands.Add(LLCommands.LockDown);So far, so good. But how can I achieve the add given only a string (e.g "LLCommands.LockDown") ?
>
>Reflection via GetType/InvokeMember?