Any Assumption or rule is there, when we can use DataTrigger and when we can use Converter?
Share
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.
DataTriggers are used to change styling depending on a specific value. For example change the TextBlock to red when its content is a number below 0.
Converter is used to convert a value to another type of value. For example to convert a boolean to a Visibility enum value