A tool which changes the style of a the selected text by making it a heading or paragraph.
Object
ComponentBase
IComponent
IHandleEvent
IHandleAfterRender
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 RadzenHtmlEditorFormatBlock : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorFormatBlock />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}A tool which changes the style of a the selected text by making it a heading or paragraph.
public RadzenHtmlEditorFormatBlock()The RadzenHtmlEditor component which this tool is part of.
public RadzenHtmlEditor Editor { get; set; }
| Type | Description |
|---|---|
| RadzenHtmlEditor | The RadzenHtmlEditor component which this tool is part of. |
Specifies the text displayed for the h1 example. Set to "Heading 1" by default.
public string Heading1Text { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text displayed for the h1 example. Set to "Heading 1" by default. |
Specifies the text displayed for the h2 example. Set to "Heading 2" by default.
public string Heading2Text { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text displayed for the h2 example. Set to "Heading 2" by default. |
Specifies the text displayed for the h3 example. Set to "Heading 3" by default.
public string Heading3Text { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text displayed for the h3 example. Set to "Heading 3" by default. |
Specifies the text displayed for the h4 example. Set to "Heading 4" by default.
public string Heading4Text { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text displayed for the h4 example. Set to "Heading 4" by default. |
Specifies the text displayed for the h5 example. Set to "Heading 5" by default.
public string Heading5Text { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text displayed for the h5 example. Set to "Heading 5" by default. |
Specifies the text displayed for the h6 example. Set to "Heading 6" by default.
public string Heading6Text { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text displayed for the h6 example. Set to "Heading 6" by default. |
Specifies the text displayed for the normal text example. Set to "Normal" by default.
public string NormalText { get; set; }
| Type | Description |
|---|---|
| string | Specifies the text displayed for the normal text example. Set to "Normal" by default. |
Specifies the placeholder displayed to the user. Set to "Format block" by default.
public string Placeholder { get; set; }
| Type | Description |
|---|---|
| string | Specifies the placeholder displayed to the user. Set to "Format block" by default. |
Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Text style" by default.
public string Title { get; set; }
| Type | Description |
|---|---|
| string | Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Text style" by default. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |