Change the BackColor of a RadTextBox

 

Code snippet to change the back color of a RadTextBox

DirectCast(txtReleasedToDispatch.TextBoxElement.Children(1), FillPrimitive).BackColor = Color.Pink
DirectCast(txtReleasedToDispatch.GetChildAt(0).GetChildAt(0), RadTextBoxItem).BackColor = Color.Pink

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