SolidColorBrush thickness property

Posted by developer on Stack Overflow See other posts from Stack Overflow or by developer
Published on 2010-03-25T14:54:34Z Indexed on 2010/03/25 15:03 UTC
Read the original article Hit count: 388

Filed under:
|

Hi All, Is it possible to set thickness property of SolidColorBrush. The reason I am asking is that I have a IValueConverter binding to Textbox Border BorderBrush property and I am dynamically setting the color of the textbox using the below code,

SolidColorBrush tbbrush = new SolidColorBrush(Colors.DarkGray);
            return tbbrush;

I also want to change the thickness property of the border, but without writing a new IValueConverter. Is it possible?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wpf-controls