Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a list available for EventTrigger EventNames?

Tags:

events

wpf

I do not seem to find a list of available EventNames used in EventTriggers for different UI elements in WPF. I know some of the commonly used Event Names like

  1. Loaded
  2. Click

But it would be nice to get a list of all the event names available for example for a Grid Element.

like image 350
azmuhak Avatar asked Feb 27 '14 06:02

azmuhak


People also ask

What are routed events in WPF?

A routed event is an event registered with the WPF event system, backed by an instance of the RoutedEvent class, and processed by the WPF event system. The RoutedEvent instance, obtained from registration, is typically stored as a public static readonly member of the class that registered it.

What is event trigger in WPF?

An event trigger performs some actions when a specific event is fired. It is usually used to accomplish some animation on control such DoubleAnumatio, ColorAnimation, etc. In the following example, we will create a simple button. When the click event is fired, it will expand the button width and height.


1 Answers

The best resource for this would probably be Microsoft's documentation. For instance this is a list of all the events for a WPF grid.

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

like image 94
daniellepelley Avatar answered Sep 30 '22 18:09

daniellepelley