Class RadzenHtmlEditorBold
A RadzenHtmlEditor tool which bolds the selection.
public class RadzenHtmlEditorBold : RadzenHtmlEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
RadzenHtmlEditorBold
- Implements
- Inherited Members
Examples
<RadzenHtmlEditor @bind-Value=@html>
<RadzenHtmlEditorBold />
</RadzenHtmlEdito>
@code {
string html = "@lt;strong>Hello</strong> world!";
}
Constructors
RadzenHtmlEditorBold()
public RadzenHtmlEditorBold()
Properties
CommandName
protected override string CommandName { get; }
Property Value
Shortcut
Specifies the shortcut for the command. Set to "Ctrl+B"
by default.
[Parameter]
public override string Shortcut { get; set; }
Property Value
Title
Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Bold"
by default.
[Parameter]
public string Title { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder