Grabbing values from Expression.Blend.SampleData
Posted
by Mitchell Skurnik
on Stack Overflow
See other posts from Stack Overflow
or by Mitchell Skurnik
Published on 2010-03-31T15:47:25Z
Indexed on
2010/04/02
15:53 UTC
Read the original article
Hit count: 304
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
© Stack Overflow or respective owner