I have gone through this article but still i am not very much clear about Type Converter and its usage.
http://msdn.microsoft.com/en-us/library/aa970913.aspx
Can anyone please explain in what it is and what can be done with it in WPF.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For example – when you set a background property in XAML, you can write “Red”, in code behind you cannnot just give the Background property the string “Red” because its type is Brush.
WPF uses a type converter to convert from string to brush.