I have a small UserControl and it needs to know the Background Brush of the control on which it's being rendered.
However, if I look in the Background property of the UserControl it comes back null.
If I call GetValue(UserControl.BackgroundProperty) it also returns null even though up the Visual tree it is definitely being set.
Seems like I must be missing something pretty obvious as it's can't be that hard to figure out the background colour of a control.