Grabbing values from Expression.Blend.SampleData
- by Mitchell Skurnik
I am trying to figure out how to grab a value from Expression.Blend.SampleData. If my id is equal to a drop down for example, I can grab it by doing this:
((Expression.Blend.SampleData.MyDatabase.something)(MyDropDown.SelectedItem)).description;
I need some way to place my own value where (MyDropDown.SelectedItem) is. Visual studio wants me to convert it a "Expression.Blend.SampleData.MyDatabase.something" format. I have tried a few ways to do this but I have been unsuccessful.
Any Ideas?
EDIT
I am starting to think there is no way in Silverlight to do this