August 31st, 2009, 01:21 PM
Create enum list at runtime
I have an enum set say tiger=0,
These enums are to be displayed in a list box which is dependent on a combo box. The combo box will have values like carnivores,herbivores,repltiles.
So when I change my selectedindex the value in the list box(ie the animal names) should also change. So if I have carnivores, I get lion and tiger. If i have reptiles , I have snake.
Please suggest the respective xaml and the necessary code required. Its very urgent.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!