tags:

views:

102

answers:

1

Is it possible to set different borderbrushes for different sides e.g. left and right blue and other to grey?

(I've found only the dirty workaround here)

A: 

No - there's no other way to do it

...

Unless you build your own Decorator: http://www.wiredprairie.us/journal/2006/09/wpf%5Fdecorators%5Fbuild%5Fyour%5Fown.html

Rob Fonseca-Ensor
But how is it implemented in the textbox (aero style)?
Shurup
if your OS is in aero, use blend to "edit a copy" of the textbox style. You'll see theyre using a custom control that inherits from Decorator. Maybe you could look into using that: http://www.wiredprairie.us/journal/2006/09/wpf_decorators_build_your_own.html
Rob Fonseca-Ensor