I have an attribute for whose type I need to decide dynamically in runtime.
I have defined two simple types x and y in local dictionary with some predefined enumeration.
I have an attribute x bound to a dropdown by key (selected key).
Why the application I need to show either x or y in the dropdown on some condition.
Can anyone tell me the code for this if this is possible