Useful Expression Blend SDK Controls–LineArrow

The Expression Blend SDK has some interesting controls in it that you can easily miss if you’re not poking around the SDK namespaces. The one I’m going to talk about right now is called LineArrow and is a simplistic way to draw a curved or straight line with optional arrow heads on it. At its simplest, it draws a line from one corner of itself to another corner:

And when executed it looks like this:


To put this to good use, one could arrange a set of visual elements to visualize a process flow perhaps:


And the XAML:

While it may look useful, it may also be a bit of a pain to use in a dynamic view that has to drive the view dynamically. Deciding an ideal bend and the X/Y and Width/Height of the arrow may not be easy on a data driven view, but for a static view this control can certainly be useful.

Leave a Reply