Get event by name
Posted: 17 Apr 2015, 01:27
I'm trying to get an event by it's name and I was pointed to the following code:
const TypeClass* type = button3->GetClassType();
const RoutedEvent* clickEvent = Noesis::Gui::FindRoutedEventRecursive(type, clickEventName);
However, FindRuitedEventRecursive's 2nd parameter isn't a string event name, it's some NsSymbol which isn't making sense to me when I look at it's description.
const TypeClass* type = button3->GetClassType();
const RoutedEvent* clickEvent = Noesis::Gui::FindRoutedEventRecursive(type, clickEventName);
However, FindRuitedEventRecursive's 2nd parameter isn't a string event name, it's some NsSymbol which isn't making sense to me when I look at it's description.