6 Answers, 1 is accepted
There is no property that controls this but you can set the Margin of the view:
I hope this will be useful. Let me know if you have additional questions.
So when do I actually call this function?
Will this also affect the NullText to display in the vertical middle? If not, is there a way of doing that too?
Is this a likely feature that will be included in the future, as I have many TextBoxControl controls in my application, and having to add this extra code for all of this is tedious?
To center the null text you need to set the Margin of the following element as well:
This code should be called when the form layout is loaded or when the textbox is resized.
Should you have any other questions do not hesitate to ask.
thanks, all sorted.
Is this a likely feature that is coming or can it be?
Thank you for writing back.
By design, vertical alignment for RadTextBoxControl is not supposed to be supported. It is an input control and the text is purposed to be shown from top to bottom in a multiline text box. The standard MS TextBox also supports only horizontal text alignment. Currently, we don't have plans to change this behavior. If other customers have a similar request we will consider it in future.
I hope this information helps. If you have any additional questions, please let me know.