Class RadzenHtmlEditorFormatBlock
A tool which changes the style of a the selected text by making it a heading or paragraph.
Inheritance
Implements
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenHtmlEditorFormatBlock : ComponentBase, IDisposable
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorFormatBlock />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Properties
Editor
The RadzenHtmlEditor component which this tool is part of.
Declaration
public RadzenHtmlEditor Editor { get; set; }
Property Value
Type | Description |
---|---|
RadzenHtmlEditor |
Heading1Text
Specifies the text displayed for the h1 example. Set to "Heading 1"
by default.
Declaration
public string Heading1Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Heading2Text
Specifies the text displayed for the h2 example. Set to "Heading 2"
by default.
Declaration
public string Heading2Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Heading3Text
Specifies the text displayed for the h3 example. Set to "Heading 3"
by default.
Declaration
public string Heading3Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Heading4Text
Specifies the text displayed for the h4 example. Set to "Heading 4"
by default.
Declaration
public string Heading4Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Heading5Text
Specifies the text displayed for the h5 example. Set to "Heading 5"
by default.
Declaration
public string Heading5Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Heading6Text
Specifies the text displayed for the h6 example. Set to "Heading 6"
by default.
Declaration
public string Heading6Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NormalText
Specifies the text displayed for the normal text example. Set to "Normal"
by default.
Declaration
public string NormalText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Placeholder
Specifies the placeholder displayed to the user. Set to "Format block"
by default.
Declaration
public string Placeholder { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Title
Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Text style"
by default.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Dispose()
IDisposable implementation.
Declaration
public void Dispose()
OnInitialized()
Declaration
protected override void OnInitialized()