MarkdownEditorUpdate Class

The result of an edit in RadzenMarkdownEditor, sent to the browser to refresh the editing surface.

Inheritance

Object

MarkdownEditorUpdate

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class MarkdownEditorUpdate

Constructors

MarkdownEditorUpdateLink to this section

The result of an edit in RadzenMarkdownEditor, sent to the browser to refresh the editing surface.

Declaration
public MarkdownEditorUpdate()

Properties

HtmlLink to this section

The design surface HTML, or null when the surface does not need to be replaced.

Declaration
public string Html { get; set; }
Property Value
Type Description
stringThe design surface HTML, or null when the surface does not need to be replaced.

SegmentsLink to this section

The text segments of Html as flat triples of document position start, position end and rendered length.

Declaration
public Int32[] Segments { get; set; }
Property Value
Type Description
Int32[]The text segments of Html as flat triples of document position start, position end and rendered length.

SelectionEndLink to this section

The selection end after the edit, in the same units as SelectionStart.

Declaration
public int SelectionEnd { get; set; }
Property Value
Type Description
intThe selection end after the edit, in the same units as SelectionStart.

SelectionStartLink to this section

The selection start after the edit: a position in the rendered document in Design mode, an offset in the markdown text in Source mode.

Declaration
public int SelectionStart { get; set; }
Property Value
Type Description
intThe selection start after the edit: a position in the rendered document in Design mode, an offset in the markdown text in Source mode.

StateLink to this section

The tool state at the selection after the edit.

Declaration
public MarkdownEditorToolState State { get; set; }
Property Value
Type Description
MarkdownEditorToolStateThe tool state at the selection after the edit.

TextLink to this section

The whole markdown text, sent when the source textarea must be replaced.

Declaration
public string Text { get; set; }
Property Value
Type Description
stringThe whole markdown text, sent when the source textarea must be replaced.

VersionLink to this section

The version of the edit this update answers, as sent by the browser.

Declaration
public int Version { get; set; }
Property Value
Type Description
intThe version of the edit this update answers, as sent by the browser.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙