Here is another very quick post about State Triggers and why they are awesome, recently I needed to have 2 very different visuals depending on what size my application was and on what page my application was. Usually I set my StateTriggers inside my UserControl however today this was not an option because of the design on my application.
My best option was to change the ItemTemplate on my gridview using statetriggers, I needed to have 2 different states depending I was in Narrow or Wide mode.
Here is the Gridview:
Here is my statetrigger:
This means that when the application is in wide mode the KeyWideTemplate will be used in the GridView template
and when the application is in narrow mode the KeyNarrowTemplate will be used.
Github sample here