Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services.
Privacy policy. Thank you. Microsoft makes no warranties, express or implied, with respect to the information provided here. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Sign in to vote. To get this type of binding to work you can use an IValueConverter.
In this case the value converter would get the key in the dictionary and return the proper value. MakeGenericType typeArgs ;. IsInstanceOfType value. So hopefully this post has been helpful for you in understanding IValueConverters vs.
TypeConverters and when to use them. It has cleared it up for me. MakeGenericType typeArgs ; if dictType. Technorati Tags: silverlight. Many thanks. Your examples were much clearer than those in the MSDN. Software Zen: delete this;. My vote of 4 Christian Amado Aug Christian Amado. Re: My vote of 4 Septimus Hedgehog Aug Septimus Hedgehog. Thanks Clifford. The job I started three weeks uses an app that is exclusively WPF and there are more type converters than there are grains of sand on a beach.
I don't understand much about them being a WPF noobie but your article simplifies the concepts for me in chunks I can understand. Thanks a lot for sharing. Re: My vote of 4 Clifford Nelson Aug Clifford Nelson. I am glad it was helpful. I was wondering if there was something that you see that could have made the article better.
Clifford, I'm a noob with WPF so anything that explains things in easy-to-digest explanations can only help me leaps and bounds. That's what I appreciate yours.
0コメント