MarkdownRenderer.CreateOrReuseRichTextBlock(IRenderContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new RichTextBlock, if the last element of the provided collection isn't already a RichTextBlock.
protected Windows.UI.Xaml.Controls.RichTextBlock CreateOrReuseRichTextBlock(Microsoft.Toolkit.Parsers.Markdown.Render.IRenderContext context);
member this.CreateOrReuseRichTextBlock : Microsoft.Toolkit.Parsers.Markdown.Render.IRenderContext -> Windows.UI.Xaml.Controls.RichTextBlock
Protected Function CreateOrReuseRichTextBlock (context As IRenderContext) As RichTextBlock
Parameters
- context
- IRenderContext
Returns
Windows.UI.Xaml.Controls.RichTextBlock
The rich text block