May 07, 2009, 5:55 PM
How to set style of label?
In order to keep a strict separation of UI from data, I want to be able to specify the style of a control, such as a Label to make the text bold and a certain font. But, the actual text value will be set from codebehind. I don't want to do something like this: lblVersion.Text = "V1.215. I much prefer to just set the text value here, but in the markup somehow specify the font styling. Any help would be appreciated.