Text Position

2 posts, 1 answers
  1. Josh
    Josh avatar
    6 posts
    Member since:
    Jun 2009

    Posted 05 Nov 2012 Link to this post

    <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?
  2. Answer
    Masha
    Admin
    Masha avatar
    355 posts

    Posted 08 Nov 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top