Questions tagged [eventtrigger]

Represents a trigger that applies a set of actions in response to an event.

Trigger objects have the Setters, EnterActions, and ExitActions properties that apply changes or actions based on the state of certain properties, while EventTrigger objects start a set of Actions when a specified routed event occurs. For example, you may want to use an EventTrigger to start a set of animations when the mouse pointer is over a certain user interface (UI) control. Unlike Trigger, EventTrigger has no concept of termination of state, so the action will not be undone once the condition that raised the event is no longer true.

More info : http://msdn.microsoft.com/en-us/library/system.windows.eventtrigger(v=vs.110).aspx

784 questions
-1
votes
1 answer

WPF StackPanel OnClick

I have a StackPanel that I style for MouseOver and PreviewMouseLeftButtonDown. In PreviewMouseLeftButtonDown I change Background color of said StackPanel. But whenever I move my mouse out the color returns to default one, I would like to have my…
Rageline
  • 79
  • 7
-1
votes
1 answer

Animation border

I have border, that I want to animate by clicking button (name = "button1"). Button is outside. My code throws an exception. Whats wrong? Thanks
-1
votes
1 answer

How to attach my click event to be triggered after default one

I have an external jQuery library that creates a popup. Example: (This is rendered to page from custom control) My external javascript does something such as.