How to set Border.BorderBrush from string

Posted by antongladchenko on Stack Overflow See other posts from Stack Overflow or by antongladchenko
Published on 2010-05-05T10:03:29Z Indexed on 2010/05/05 10:08 UTC
Read the original article Hit count: 145

Filed under:
|
|

Theres a problem. I can't set value of BorderBrush fros C#-code (not in XAML):

 ((Border)((Image)sender).Parent).BorderBrush = "#FFBCC7D8";

How to solve this problem?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about color