01-18-2013 11:32 AM
The reason for this is simple, depending on a flag in my data model, a different ActionSet will be used.
ie, I have a data model with a flag (metric vs imperial) and the context menus for controls will be a list of preset values for either metric or imperial values. Depending on the value of the flag, I'd like to dynamically pick the ActionSet for the context menu.
I supposed I could return the action sets from C++, but I love the depth of declarative programming in cascades and would prefer to keep this UI stuff in the UI part and out of my data model...
01-18-2013 11:41 AM