using Microsoft.AspNetCore.Components; namespace Radzen.Blazor { /// /// A RadzenHtmlEditor tool which formats the selection as subscript. /// /// /// /// <RadzenHtmlEditor @bind-Value=@html> /// <RadzenHtmlEditorSubscript /> /// </RadzenHtmlEdito> /// @code { /// string html = "@lt;strong>Hello</strong> world!"; /// } /// /// public partial class RadzenHtmlEditorSubscript : RadzenHtmlEditorButtonBase { /// protected override string CommandName => "subscript"; /// /// Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Subscript" by default. /// [Parameter] public string Title { get; set; } = "Subscript"; } }