Wednesday, 6 July 2011

Simple Vanishing Line

Sometimes a dividing line between sections can be useful to visually separate areas on your pages.

To soften the line simply use a linear gradient brush with two transparent ends.


Here's the Xaml I used in a WPF example application:

No comments:

Post a Comment