I have my text boxes all set to use rounded corners via the style builder. However when I set the background color of a textbox, the background fill does not respect the rounded corners. Below is a blown up screenshot as an example.
1 Answer, 1 is accepted
Dinko | Tech Support Engineer
answered on 26 Aug 2022, 09:11 AM
Thank you for the provided image.
You can share how you have set the RounRectShape element to the RadTextBox. The general approach here is to set the radTextBox1.TextBoxElement.Shape property.
this.radTextBox1.TextBoxElement.Shape = new RoundRectShape(15);
radTextBox1.TextBoxElement.Fill.BackColor = Color.Red;
radTextBox1.TextBoxElement.TextBoxItem.BackColor = Color.Red;
If this does not work, you can share which properties are set to the RadTextBox control.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.