private void MaybeSplitForParagraph()
{
if (_textLengthInCurrent > 1000)
{
if (ResultGroup == null)
{
ResultGroup = new StackPanel { Orientation = Orientation.Vertical };
ResultGroup.Children.Add(Result);
}
ResultGroup.Children.Add(Result = new RichTextBlock { TextWrapping = TextWrapping.Wrap, FontFamily = new FontFamily("Segoe UI"), FontSize = 15 });
_textLengthInCurrent = 0;
}
_currentParagraph = new Windows.UI.Xaml.Documents.Paragraph();
Result.Blocks.Add(_currentParagraph);
}