Does a child control inherit its parents properties of the same name

Posted by Dave Colwell on Stack Overflow See other posts from Stack Overflow or by Dave Colwell
Published on 2010-04-19T07:05:24Z Indexed on 2010/04/19 7:23 UTC
Read the original article Hit count: 159

Filed under:
|
|

Hi all,
simple question regarding property value inheritance in UserControls.
If i create a UserControl, it has some standard properties like Background, BorderBrush and BorderThickness.
Within that UserControl i have a border. I want to know, if i dont specify any set value or binding for the property BorderBrush of that border, will it automatically inherit the value of BorderBrush from the parent control?

Thanks!

© Stack Overflow or respective owner

Related posts about wpf

Related posts about xaml