RadzenHtmlEditorTable Class

A tool which inserts tables in a RadzenHtmlEditor.

Inheritance

Object

ComponentBase

RadzenHtmlEditorButtonBase

RadzenHtmlEditorTable

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

RadzenHtmlEditorButtonBase.Localize

RadzenHtmlEditorButtonBase.OnInitialized

RadzenHtmlEditorButtonBase.Dispose

RadzenHtmlEditorButtonBase.Editor

RadzenHtmlEditorButtonBase.CommandName

RadzenHtmlEditorButtonBase.Shortcut

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.SetParametersAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenHtmlEditorTable : RadzenHtmlEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender

Examples

<RadzenHtmlEditor @bind-Value=@html>
 <RadzenHtmlEditorTable />
</RadzenHtmlEditor>
@code {
  string html = "@lt;strong>Hello</strong> world!";
}

Constructors

RadzenHtmlEditorTablelink

A tool which inserts tables in a RadzenHtmlEditor.

Declaration
public RadzenHtmlEditorTable()

Properties

BorderBottomTextlink

Specifies the text of the bottom border checkbox. Falls back to TableStrings when available, otherwise "Bottom".

Declaration
public string BorderBottomText { get; set; }
Property Value
Type Description
stringSpecifies the text of the bottom border checkbox. Falls back to TableStrings when available, otherwise "Bottom".

BorderColorTextlink

Specifies the text of the label for the border color. Falls back to TableStrings when available, otherwise "Border color".

Declaration
public string BorderColorText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the border color. Falls back to TableStrings when available, otherwise "Border color".

BorderLeftTextlink

Specifies the text of the left border checkbox. Falls back to TableStrings when available, otherwise "Left".

Declaration
public string BorderLeftText { get; set; }
Property Value
Type Description
stringSpecifies the text of the left border checkbox. Falls back to TableStrings when available, otherwise "Left".

BorderRightTextlink

Specifies the text of the right border checkbox. Falls back to TableStrings when available, otherwise "Right".

Declaration
public string BorderRightText { get; set; }
Property Value
Type Description
stringSpecifies the text of the right border checkbox. Falls back to TableStrings when available, otherwise "Right".

BorderStyleTextlink

Specifies the text of the label for the border style. Falls back to TableStrings when available, otherwise "Border style".

Declaration
public string BorderStyleText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the border style. Falls back to TableStrings when available, otherwise "Border style".

BorderTextlink

Specifies the text of the label for the table border. Falls back to TableStrings when available, otherwise "Border".

Declaration
public string BorderText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the table border. Falls back to TableStrings when available, otherwise "Border".

BorderTopTextlink

Specifies the text of the top border checkbox. Falls back to TableStrings when available, otherwise "Top".

Declaration
public string BorderTopText { get; set; }
Property Value
Type Description
stringSpecifies the text of the top border checkbox. Falls back to TableStrings when available, otherwise "Top".

BorderWidthPxTextlink

Specifies the text of the label for the border width in pixels. Falls back to TableStrings when available, otherwise "Border width (px)".

Declaration
public string BorderWidthPxText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the border width in pixels. Falls back to TableStrings when available, otherwise "Border width (px)".

CancelTextlink

Specifies the text of button which cancels table insertion and closes the dialog. Falls back to TableStrings when available, otherwise "Cancel".

Declaration
public string CancelText { get; set; }
Property Value
Type Description
stringSpecifies the text of button which cancels table insertion and closes the dialog. Falls back to TableStrings when available, otherwise "Cancel".

CellBackgroundTextlink

Specifies the text of the label for the selected cell background. Falls back to TableStrings when available, otherwise "Cell background".

Declaration
public string CellBackgroundText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the selected cell background. Falls back to TableStrings when available, otherwise "Cell background".

CellBorderTextlink

Specifies the text of the label for the selected cell border. Falls back to TableStrings when available, otherwise "Cell border".

Declaration
public string CellBorderText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the selected cell border. Falls back to TableStrings when available, otherwise "Cell border".

CellPaddingPxTextlink

Specifies the text of the label for cell padding in pixels. Falls back to TableStrings when available, otherwise "Cell padding (px)".

Declaration
public string CellPaddingPxText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for cell padding in pixels. Falls back to TableStrings when available, otherwise "Cell padding (px)".

CellPaddingTextlink

Specifies the text of the label for the selected cell padding. Falls back to TableStrings when available, otherwise "Cell padding".

Declaration
public string CellPaddingText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the selected cell padding. Falls back to TableStrings when available, otherwise "Cell padding".

CellTextAlignTextlink

Specifies the text of the label for horizontal cell alignment. Falls back to TableStrings when available, otherwise "Horizontal align".

Declaration
public string CellTextAlignText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for horizontal cell alignment. Falls back to TableStrings when available, otherwise "Horizontal align".

CellVerticalAlignTextlink

Specifies the text of the label for vertical cell alignment. Falls back to TableStrings when available, otherwise "Vertical align".

Declaration
public string CellVerticalAlignText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for vertical cell alignment. Falls back to TableStrings when available, otherwise "Vertical align".

ColumnWidthPxTextlink

Specifies the text of the label for column width in pixels. Falls back to TableStrings when available, otherwise "Column width (px)".

Declaration
public string ColumnWidthPxText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for column width in pixels. Falls back to TableStrings when available, otherwise "Column width (px)".

ColumnWidthTextlink

Specifies the text of the label for the selected column width. Falls back to TableStrings when available, otherwise "Column width".

Declaration
public string ColumnWidthText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the selected column width. Falls back to TableStrings when available, otherwise "Column width".

ColumnsTextlink

Specifies the text of the label for the number of columns. Falls back to TableStrings when available, otherwise "Columns".

Declaration
public string ColumnsText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the number of columns. Falls back to TableStrings when available, otherwise "Columns".

DefaultBorderlink

Specifies the default table border. Set to 1 by default.

Declaration
public int DefaultBorder { get; set; }
Property Value
Type Description
intSpecifies the default table border. Set to 1 by default.

DefaultColumnslink

Specifies the default number of columns. Set to 2 by default.

Declaration
public int DefaultColumns { get; set; }
Property Value
Type Description
intSpecifies the default number of columns. Set to 2 by default.

DefaultHeaderRowlink

Specifies whether the inserted table should contain a header row by default. Set to true by default.

Declaration
public bool DefaultHeaderRow { get; set; }
Property Value
Type Description
boolSpecifies whether the inserted table should contain a header row by default. Set to true by default.

DefaultRowslink

Specifies the default number of rows. Set to 2 by default.

Declaration
public int DefaultRows { get; set; }
Property Value
Type Description
intSpecifies the default number of rows. Set to 2 by default.

DefaultWidthlink

Specifies the default width of the inserted table. Set to "100%" by default.

Declaration
public string DefaultWidth { get; set; }
Property Value
Type Description
stringSpecifies the default width of the inserted table. Set to "100%" by default.

DeleteColumnTextlink

Specifies the text of the button which deletes the current column. Falls back to TableStrings when available, otherwise "Delete column".

Declaration
public string DeleteColumnText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which deletes the current column. Falls back to TableStrings when available, otherwise "Delete column".

DeleteRowTextlink

Specifies the text of the button which deletes the current row. Falls back to TableStrings when available, otherwise "Delete row".

Declaration
public string DeleteRowText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which deletes the current row. Falls back to TableStrings when available, otherwise "Delete row".

DeleteTableTextlink

Specifies the text of the button which deletes the current table. Falls back to TableStrings when available, otherwise "Delete table".

Declaration
public string DeleteTableText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which deletes the current table. Falls back to TableStrings when available, otherwise "Delete table".

EditTextlink

Specifies the text of the table edit section. Falls back to TableStrings when available, otherwise "Edit table".

Declaration
public string EditText { get; set; }
Property Value
Type Description
stringSpecifies the text of the table edit section. Falls back to TableStrings when available, otherwise "Edit table".

HeaderRowTextlink

Specifies the text of the header row checkbox. Falls back to TableStrings when available, otherwise "Include header row".

Declaration
public string HeaderRowText { get; set; }
Property Value
Type Description
stringSpecifies the text of the header row checkbox. Falls back to TableStrings when available, otherwise "Include header row".

InsertColumnLeftTextlink

Specifies the text of the button which inserts a column to the left. Falls back to TableStrings when available, otherwise "Insert column left".

Declaration
public string InsertColumnLeftText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which inserts a column to the left. Falls back to TableStrings when available, otherwise "Insert column left".

InsertColumnRightTextlink

Specifies the text of the button which inserts a column to the right. Falls back to TableStrings when available, otherwise "Insert column right".

Declaration
public string InsertColumnRightText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which inserts a column to the right. Falls back to TableStrings when available, otherwise "Insert column right".

InsertRowAboveTextlink

Specifies the text of the button which inserts a row above the current row. Falls back to TableStrings when available, otherwise "Insert row above".

Declaration
public string InsertRowAboveText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which inserts a row above the current row. Falls back to TableStrings when available, otherwise "Insert row above".

InsertRowBelowTextlink

Specifies the text of the button which inserts a row below the current row. Falls back to TableStrings when available, otherwise "Insert row below".

Declaration
public string InsertRowBelowText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which inserts a row below the current row. Falls back to TableStrings when available, otherwise "Insert row below".

MergeDownTextlink

Specifies the text of the button which merges the current cell with the cell below. Falls back to TableStrings when available, otherwise "Merge down".

Declaration
public string MergeDownText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which merges the current cell with the cell below. Falls back to TableStrings when available, otherwise "Merge down".

MergeRightTextlink

Specifies the text of the button which merges the current cell with the cell to the right. Falls back to TableStrings when available, otherwise "Merge right".

Declaration
public string MergeRightText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which merges the current cell with the cell to the right. Falls back to TableStrings when available, otherwise "Merge right".

OkTextlink

Specifies the text of button which inserts the table. Falls back to TableStrings when available, otherwise "OK".

Declaration
public string OkText { get; set; }
Property Value
Type Description
stringSpecifies the text of button which inserts the table. Falls back to TableStrings when available, otherwise "OK".

RowsTextlink

Specifies the text of the label for the number of rows. Falls back to TableStrings when available, otherwise "Rows".

Declaration
public string RowsText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the number of rows. Falls back to TableStrings when available, otherwise "Rows".

SplitCellTextlink

Specifies the text of the button which splits the current merged cell. Falls back to TableStrings when available, otherwise "Split cell".

Declaration
public string SplitCellText { get; set; }
Property Value
Type Description
stringSpecifies the text of the button which splits the current merged cell. Falls back to TableStrings when available, otherwise "Split cell".

Titlelink

Specifies the title (tooltip) displayed when the user hovers the tool. Falls back to TableStrings when available, otherwise "Insert table".

Declaration
public string Title { get; set; }
Property Value
Type Description
stringSpecifies the title (tooltip) displayed when the user hovers the tool. Falls back to TableStrings when available, otherwise "Insert table".

UpdateTextlink

Specifies the text of button which updates the selected table. Falls back to TableStrings when available, otherwise "Update".

Declaration
public string UpdateText { get; set; }
Property Value
Type Description
stringSpecifies the text of button which updates the selected table. Falls back to TableStrings when available, otherwise "Update".

WidthTextlink

Specifies the text of the label for the table width. Falls back to TableStrings when available, otherwise "Width".

Declaration
public string WidthText { get; set; }
Property Value
Type Description
stringSpecifies the text of the label for the table width. Falls back to TableStrings when available, otherwise "Width".

Methods

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

OnClicklink

Declaration
protected override Task OnClick()
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙