Is there a way just like multidatatrigger behavior of WPF also implemented in Silverlight 4.0?
OR
Another workaround which behaves like multidatatrigger?
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.
Unfortunately, neither MultiBindings nor MultiValueConverters exist in Silverlight by default, although some very clever people have ported them over:
http://www.thejoyofcode.com/MultiBinding_for_Silverlight_3.aspx
As for MultiDataTriggers, there is no direct equivalent, although you could probably hack together a close equivalent using the above (i.e., set a multibinding, set the inputs to the multibinding as your trigger conditions, and use a MultiValueConverter to coalesce the result)