Skip to main content

Microsoft Silverlight

Answered Question Bug in TextBox control?RSS Feed

(0)

coughlinj
coughlinj

Member

Member

334 points

114 Posts

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>
 

Allen Chen – MSFT
Allen Ch...

Star

Star

13858 points

1,801 Posts

Answered Question

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.

Rui-Marinho
Rui-Marinho

Member

Member

146 points

89 Posts

Re: Bug in TextBox control?

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

Muhammad Azhar
Muhammad...

Member

Member

6 points

3 Posts

Re: Bug in TextBox control?

TextBox dosen't work in the fullscreenmode .
please tell me when will this bug fix.

AzharTheGreat

Muhammad Azhar
Muhammad...

Member

Member

6 points

3 Posts

Re: Re: Bug in TextBox control?

there is another bug.
TextBox dosen't work in the fullscreenmode .
please tell me when will this bug fix.

AzharTheGreat

Rui-Marinho
Rui-Marinho

Member

Member

146 points

89 Posts

Re: Re: Bug in TextBox control?

well no one answer's??

 can someone confirm me if is a bug or not, and if it will be solve in the RTM version, is a very important to my decision to user silverlight for our company project.

 Thanks

Rui

nmpgaspar
nmpgaspar

Member

Member

174 points

109 Posts

Re: Re: Bug in TextBox control?

Rui, from what i've read from some blog - don't recall which - it's not a bug.

It's intended to be this way due to security reasons.

Imagine having a Silverlight app replicating a bank or whatever site, fooling people to insert their password. In full screen that can be easily archived.

Not sure if it's really that, but it sures makes sense.

Hope someone can confirm it :)

Muhammad Azhar
Muhammad...

Member

Member

6 points

3 Posts

Re: Re: Bug in TextBox control?

i dont think so....

AzharTheGreat
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities