Class TextEditorChangeEventArgs
Describes the content of a TwTextEditor after it changed, passed to its OnTextChange callback.
[ExcludeFromCodeCoverage]
public sealed class TextEditorChangeEventArgs
- Inheritance
-
TextEditorChangeEventArgs
- Inherited Members
Constructors
TextEditorChangeEventArgs()
public TextEditorChangeEventArgs()
Properties
Html
Gets the content as sanitized HTML, or an empty string when the editor holds no text.
public required string Html { get; init; }
Property Value
Length
Gets the number of characters in Text, not counting line breaks.
public required int Length { get; init; }
Property Value
Text
Gets the content as plain text, with a line break between paragraphs.
public required string Text { get; init; }