Bug in TextBox control?
Last post 05-13-2008 12:00 PM by Rui-Marinho. 2 replies.
Sort Posts:
05-09-2008 8:47 PM
Bug in TextBox control?

This is an irritation bug only but I wanted to make sure its being looked at.

Set the AcceptReturn property to True in the TextBox control and the VerticalAlignment property to Top.

The text box should expand vertically as neccessary.  Pressing <ENTER> will not expand it until a new character is typed.  The blank line should be included in the calculation for the control's hieght.

 

Here's the XAML no code behind is required. 

<UserControl x:Class="SilverlightBugs.Page"
    xmlns="http://schemas.microsoft.com/client/2007"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <TextBox AcceptsReturn="True" VerticalAlignment="Top" />
    </Grid>
</UserControl>
 

coughlinj

Joined on 03-07-2008
Vancouver
Posts 43
05-12-2008 2:31 AM
Marked as Answer
Re: Bug in TextBox control?

Hi:

  This bug has been fixed in latest bits.

Thanks for your reporting.

Sincerely,
Allen Chen
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Allen Chen – MSFT

Joined on 03-16-2007
Posts 717
05-13-2008 12:00 PM
Re: Bug in TextBox control?

i think tehre is another bug, dosen't work in the fullscreenmode

Rui-Marinho

Joined on 03-19-2008
Posts 50