RadLabel

I had a requirement today to make a disabled control 'more readable'

Grrr.

The control was a RadTextbox, and I had it disabled so people would not type in it. I suppose I could have made it 'read only', but that mode allows the cursor to enter and that bugs me. 

I make the control a radLabel, and styled it below

Related Articles

... and you 'll find more on the Telerik Winforms Menu

lblNotes.BackColor = White
lblNotes.BorderVisible = True
 
'change the border color to a wedgewood blue to match the other controls    
Dim labelBorder As BorderPrimitive = lblNotes.LabelElement.LabelBorder
labelBorder.ForeColor = System.Drawing.Color.FromArgb(110, 153, 210) '
labelBorder.Visibility = ElementVisibility.Visible

RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences