Changing background color of Fluent:TextBox input field
See original GitHub issueHi! I was wondering if it’s possible to change the background of Fluent TextBox input control? The following code below didn’t work for me sadly:
<Fluent:TextBox Header="Sample header text" Background="Red"/>
The result: The background of the input field wasn’t changed.
Environment
- Fluent.Ribbon v8.0.3
- Windows 10 x64
- .NET Framework 4.8
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to change input text color of fluent ui TextField?
You need to do the following change in your code. Inside styles, instead of input use field property to change css for input...
Read more >Official Form Styler of Fluent Forms
Set the input fields and text areas with background and text colors. Change the font size, font weight, text decoration, line height, ...
Read more >How to style a Fluent Forms form - oxygen4fun
I have added a black color for the text, you don't necessary need it, but my website's default color text is white, so...
Read more >Styling Beautiful CSS Forms with Fluent Forms' Global Styler
Here, you will see fields named as, Background Color, Color, Form Margin, Form Padding, Border Type, Border Color, Border Width, and Border-Radius.
Read more >Change background color of text box in forms
To select which color you want for each field, open the field settings, go to the advanced tab, and put the CSS class...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s of course possible. 😉 You can set the resource Fluent.Ribbon.Brushes.TextBox.Background to change the background. Have a look at https://github.com/fluentribbon/Fluent.Ribbon/blob/develop/Fluent.Ribbon/Themes/Themes/Theme.Template.xaml for all available resources.
Glad you found a solution. Sorry for not providing a sample. Totally forgot about this.