Just needed a height. Height="200"
<ScrollViewer
HorizontalScrollBarVisibility="Disabled"
VerticalScrollBarVisibility="Auto"
HorizontalScrollMode="Disabled"
VerticalScrollMode="Enabled"
ZoomMode="Disabled"
Margin="10,4,10,0">
<TextBlock x:Name="DebugTextBlock"
TextWrapping="Wrap"
Style="{StaticResource BasicTextStyle}"
IsTextSelectionEnabled="True" Height="200"/>
</ScrollViewer>
<!-- Add Storyboards to the visual states below as necessary for supporting the various layouts for the output section -->
<VisualStateManager.VisualStateGroups>
<VisualStateGroup>
<VisualState x:Name="OutputDefaultLayout"/>
<VisualState x:Name="OutputBelow768Layout"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
</Grid>
The reason this didn't work originally, is due to the parent layout having a ScrollViewer
, making this scroll view nested.