This is a migrated thread and some comments may be shown as answers.
Text Position
1 Answer 14 Views
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 05 Nov 2012, 01:52 PM
<telerik:RadWatermarkTextBox Margin="0,3,0,0" Width="260" Height="150"
                             HorizontalAlignment="Left" WatermarkContent="test"
                             AcceptsReturn="False" TextWrapping="Wrap"
                             VerticalScrollBarVisibility="Auto"/>

If I have a large RadWatermarkTextBox, when you start typing the text is in the center of the box.  If I change it to a standard TextBox, when you start typing it is at the top of the box (which is desired).  Is this a bug with RadWatermarkTextBox?  Is there a RadWatermarkTextBox property to force the typing to begin at the top of the box instead of the center?

1 Answer, 1 is accepted

Sort by
0
Accepted
Masha
Telerik team
answered on 08 Nov 2012, 08:23 AM
Hello Josh,

You should set VerticalContentAlignment="Top" property to start typing at the top of the box.

Hope this helps.


Greetings,
Maria
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Asked by
Josh
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or