Try removing the Height definitions in the StackPanel and RichTextBlock .
<ContentDialog ...> <ScrollViewer Height="100"> <StackPanel> <RichTextBlock x:Name="richBox"> <Paragraph> <Bold>Release info:</Bold> <LineBreak/> <Run Text="{x:Bind txt[1]}"/> </Paragraph> <Paragraph> <Bold>A commentary by:</Bold> <Run Text="{x:Bind txt[2]}"/> </Paragraph> <Paragraph> <Bold>details:</Bold> <LineBreak/> <Run Text="{x:Bind txt[3]}"/> </Paragraph> </RichTextBlock> </StackPanel> </ScrollViewer> </ContentDialog>
If the child is the same height as the parent ScrollViewer , then the latter does not need to scroll, so the scroll bar will not be provided. Typically, you do not need to specify a ScrollViewer - when the child is higher than the ScrollViewer , a scroll bar is displayed; otherwise it will not be.
source share