This is a mirror of official site: http://jasper-net.blogspot.com/

Blend Bits 8: Trigger Fires Action

| Wednesday, September 15, 2010
Blend 3 introduced the idea of Triggers, Actions and Behaviors as a way in which a developer can package up functionality for re-use by a designer in a drag-drop manner.

The way I think of them in my head;

Action – piece of code that does some single thing.
Trigger – piece of code that causes some Actions to run at “some point”.
Behavior – piece of code that attaches itself to some other object and does something with it. Anything.
One of the things that my slightly-too-detailed-obsessed brain struggles to deal with is that in Blend both Behaviors and Actions show up in the Assets panel under a title of Behaviors;

image_thumb.png

Read more: Mike Taulty's Blog

Posted via email from .NET Info

0 comments: