As the subject states, is there anyway to add a color to the background of a text input element? I know you can change the color of the text itself, but if possible…for what I’m working on, it would help if there was a way to add color to that type of element?
Thank you for any assistance!
A quick way, for a simple background, is to set the
Background property on the
TextInput, such as
Quite often that isn’t flexible enough, so you can simply wrap the
TextInput in another panel and add whatever kind of background you want:
<Rectangle CornerRadius="5" Layer="Background" Color="0.5,0.5,0.5,1"/>
You might look to using the
TextEdit control if you need to fully style the text inputs in your app. It’s basically just the
TextInput wihtout any standard visual decoration.