In my application I have a custom content control tha I use many times. How can I set the foreground colour (for Text) for all controls that appear inside this control?? Id like to be able to set this once and for it to apply to all the controls that
have text (ie textbox,radiobutton, label etc). I dont want to have to set the foreground property for each control defined.
Initially, I thought I would be able to use the Attached property TextElement.Foreground on the content presenter of the custom control however this doesn't work,not sure why either as TextElement.FontSize does work.
View Complete Post