Friday, 6 September 2013

Border doesn't inherit Control, so how does a setter on Control.Background work?

Border doesn't inherit Control, so how does a setter on Control.Background
work?

Since Border doesn't derive from Control, how does this work ?
<Border.Style>
<Style>
<Style.Setters>
<Setter Property="Control.Background" Value="LightBlue"/>
</Style.Setters>
</Style>
</Border.Style>

No comments:

Post a Comment