A tool which inserts and uploads images in a RadzenHtmlEditor.
Object
ComponentBase
RadzenHtmlEditorButtonBase
IComponent
IHandleEvent
IHandleAfterRender
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
public class RadzenHtmlEditorImage : RadzenHtmlEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorImage />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}A tool which inserts and uploads images in a RadzenHtmlEditor.
public RadzenHtmlEditorImage()Specifies the text of the label suggesting the user to enter a alternative text (alt) for the image. Set to "Alternative text" by default.
public string AltText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text of the label suggesting the user to enter a alternative text (alt) for the image. Set to "Alternative text" by default. |
Specifies the text of button which cancels image insertion and closes the dialog. Set to "Cancel" by default.
public string CancelText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text of button which cancels image insertion and closes the dialog. Set to "Cancel" by default. |
Specifies the text of label for image height. Set to "Image Height" by default.
public string HeightText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text of label for image height. Set to "Image Height" by default. |
Specifies the text of button which inserts the image. Set to "OK" by default.
public string OkText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text of button which inserts the image. Set to "OK" by default. |
Specifies the text of the label suggesting the user to select a file for upload. Set to "Select image file to upload" by default.
public string SelectText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text of the label suggesting the user to select a file for upload. Set to "Select image file to upload" by default. |
Specifies whether to show the alternative text section. Set it to false to hide it. Default value is true.
public bool ShowAlt { get; set; }
| Type | Description |
|---|---|
| bool | Specifies whether to show the alternative text section. Set it to false to hide it. Default value is true. |
Specifies whether to show the image height section. Set it to false to hide it. Default value is true.
public bool ShowHeight { get; set; }
| Type | Description |
|---|---|
| bool | Specifies whether to show the image height section. Set it to false to hide it. Default value is true. |
Specifies whether to show the web address section. Set it to false to hide it. Default value is true.
public bool ShowSrc { get; set; }
| Type | Description |
|---|---|
| bool | Specifies whether to show the web address section. Set it to false to hide it. Default value is true. |
Specifies whether to show the image width section. Set it to false to hide it. Default value is true.
public bool ShowWidth { get; set; }
| Type | Description |
|---|---|
| bool | Specifies whether to show the image width section. Set it to false to hide it. Default value is true. |
Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Insert image" by default.
public string Title { get; set; }
| Type | Description |
|---|---|
| string | Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Insert image" by default. |
Specifies the text of the upload label. Set to "Browse" by default.
public string UploadChooseText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text of the upload label. Set to "Browse" by default. |
Specifies the text of the label suggesting the user to enter a web address. Set to "or enter a web address" by default.
public string UrlText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text of the label suggesting the user to enter a web address. Set to "or enter a web address" by default. |
Specifies the text of label for image width. Set to "Image Width" by default.
public string WidthText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text of label for image width. Set to "Image Width" by default. |