What are Triggers and its type in WPF?

 Posted by Shantanupatel on 3/6/2012 | Category: WPF Interview questions | Views: 2973 | Points: 40

* The WPF styling and templating model enables you to specify Triggers within your Style.
* Essentially, Triggers are objects that enable you to apply changes when certain conditions (such as when a certain property value becomes true, or when an event occurs) are satisfied.
* Types of triggers:
1) Property triggers get active when a property gets a specified value.
2) Data triggers get active when a specified event is fired.
3) Event triggers get active when a binding expression reaches a specified value.

Source: Interview | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response