TelerikDeveloper.com

TelerikDeveloper.com

sgray128 6/6/2016 11:12:17 AM

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