Users Pricing

forum

Home Forums Scrollable TextBox – MindStick

Scrollable TextBox

Royce Roy 3192 14 Apr 2015
I have the problem that the user can enter text as long as he wants, but if the visual part of TextBox is full filled, it does not autoscroll to the new line
 <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,12">
        <ListBox>
            <ListBoxItem HorizontalContentAlignment="Stretch">
                <toolkit:PhoneTextBox x:Name="PinNameTextBox" Hint="{Binding Path=LocalizedResources.Untitled, Source={StaticResource LocalizedStrings}}" Text="{Binding Name, Mode=TwoWay}" />
            </ListBoxItem>
            <ListBoxItem HorizontalContentAlignment="Stretch">
                <TextBox x:Name="PinContentTextBox" Text="{Binding Text, Mode=TwoWay}" AcceptsReturn="True" TextWrapping="Wrap" InputScope="Text" />
            </ListBoxItem>
        </ListBox>
    </Grid>
I have also tried the ScrollViewer but it does not work.
Scrollable TextBox

1 Answers

Anonymous User 14 Apr 2015 Accepted Answer
Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md