Hi Abhisek Shukla,
Thank you for contacting us with this question.
If the RadTextBox is used with Multiline
(the default value) the text area can be stretched horizontally but its height is automatically calculated based on the Font
is set to true
(default value) the only sizable direction is the horizontal one. If you need additional control over the height of the RadTextBox you can use top and bottom Padding
. When AutoSize
the control can be sized both horizontally and vertically.
The difference between these two approaches is that when AutoSize
the height of the textbox is calculated automatically as previously described and if a bigger Font
is used the textbox will become higher.
Regardless of which of the two approaches described above you use to set a bigger size, you will see a gradient in the area that is not filled with text. If you need a solid white color choose "Edit UI elements" from the ActionList, select FillPrimitive from the element tree on the left and set the GradientStyle
property to Solid
You should not see different colors in horizontal direction (except for the border) - the entire width of the control should be filled by the textbox. If you do so - please send us a project reproducing this behavior.
Thank you for contacting us with this issue. It's very important for us to make sure you're able to use our controls with the least amount of effort and to your greatest satisfaction, and receiving feedback from you greatly helps us focus our efforts. Please, contact us with any other concerns you might have.
the Telerik team