CodeBlockResolvingEventArgs Class

Definition

Arguments for the CodeBlockResolving event when a Code Block is being rendered.

public class CodeBlockResolvingEventArgs : EventArgs
Inheritance
CodeBlockResolvingEventArgs

Properties

CodeLanguage

Gets the language of the Code Block, as specified by ```{Language} on the first line of the block, e.g.

public void Method();<p></p>
```<p></p>
Handled

Gets or sets a value indicating whether this event was handled successfully.

InlineCollection

Gets Collection to add formatted Text to.

Text

Gets the raw code block text

Applies to

Product Versions
Windows Community Toolkit 6.1.1, 7.0.0, 7.1.0