I would like to create a rectangular 'flat 3D' look for one of my control templates. In it's most simple version this means having a line at the bottom that is darker than that at the top, and maybe some variation between the left and right lines too.
A more complex version would allow me to provide on or more brushes so that gradients could be applied.
The default <Border>
element in WPF lets you specify a different thickness per edge, but I can't find a way to specify multiple brushes.
So, how can I produce the effect I want as simply as possible?
EDIT it's been suggested that I post an example of how I want to use this. Personally I'd be happy to have a style or a user control. The user control might be used thus:
<FourSidedBorder LeftSideBrush="#00f" RightSideBrush="#0f0" ... />
Or perhaps even simpler:
<FourSidedBorder BorderBrush="#00f,#0f0,#f00,#fff"
BorderThickness="1,2,3,4" ... />
These are just ideas. Any sensible, concise solution is welcome.