- 0
XAML Scrollviewer not scrolling: WP8
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Microsoft testing native Windows 11 app performance with impressive early results
By hellowalkman,
- microsoft
- windows 11
- (and 6 more)
- 10 replies
- 0 views
-
Microsoft shares how upcoming Windows 11 updates greatly improve Start, Settings, Explorer
By hellowalkman,
- microsoft
- microsoft design
- (and 12 more)
- 17 replies
- 0 views
-
Simple tweak makes Windows 11 File Explorer faster and fixes a very annoying bug
By hellowalkman,
- microsoft
- explorerpatcher
- (and 9 more)
- 17 replies
- 0 views
-
Unofficial Windows 11 requirements bypass app developer is truly disappointed with Microsoft
By hellowalkman,
- microsoft
- windows 11
- (and 8 more)
- 10 replies
- 0 views
-
Microsoft finally admits almost all major Windows 11 core features are broken 1 2 3
By hellowalkman,
- microsoft
- windows 11
- (and 14 more)
- 50 replies
- 0 views
-
Question
James Rose
Why in the heck is the ScrollViewer not doing anything? I've been checking a number of options but no matter what, the text (filled via C#) does not scroll
<Grid x:Name="LayoutRoot" Background="DarkRed"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="0,0,0,4" Grid.ColumnSpan="2"> <Grid x:Name="TitlebarGrid"> <Grid.ColumnDefinitions> <ColumnDefinition Width="55"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="55"/> </Grid.ColumnDefinitions> <Image Grid.Column="0" Height="48" Width="48" Source="/Assets/TinyTrain.png" Margin="4,5,4,4" /> <Image Grid.Column="2" Height="48" Width="48" Source="/Assets/TinyTrain.png" Margin="50,5,-50,4" > <Image.RenderTransform> <ScaleTransform ScaleX="-1"/> </Image.RenderTransform> </Image> <TextBlock HorizontalAlignment="Center" Grid.Column="1" Text="Big Apple Transit" FontSize="38" FontWeight="Bold" Style="{StaticResource PhoneTextNormalStyle}" Margin="0,0,0,0"/> </Grid> </StackPanel> <Grid x:Name="ContentPanel" Grid.Row="1" Margin="0" Background="White" > <ScrollViewer Grid.Column="1" Height="auto" VerticalScrollBarVisibility="Visible" AllowDrop="False"> <TextBlock Name="LineDetails" Opacity="0.0" Foreground="DarkRed" FontSize="24" TextWrapping="Wrap" /> </ScrollViewer> <ListBox Name="BATList" Opacity="1.0" Foreground="DarkRed" FontSize="33" Margin="5" SelectionChanged="BATList_SelectionChanged"> <ListBox.Resources> <SolidColorBrush x:Key="AppAccentBrush" Color="#c0c0c0"></SolidColorBrush> </ListBox.Resources> </ListBox> </Grid> </Grid>Link to comment
https://www.neowin.net/forum/topic/1173323-xaml-scrollviewer-not-scrolling-wp8/Share on other sites
4 answers to this question
Recommended Posts