mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
23 lines
662 B
C#
23 lines
662 B
C#
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace Radzen.Blazor
|
|
{
|
|
/// <summary>
|
|
/// A tool which switches between rendered and source views in <see cref="RadzenHtmlEditor" />.
|
|
/// </summary>
|
|
public partial class RadzenHtmlEditorSource
|
|
{
|
|
|
|
private string? title;
|
|
|
|
/// <summary>
|
|
/// Specifies the title (tooltip) displayed when the user hovers the tool. Set to <c>"View source"</c> by default.
|
|
/// </summary>
|
|
[Parameter]
|
|
public string Title { get => title ?? Localize(nameof(RadzenStrings.HtmlEditorSource_Title)); set => title = value; }
|
|
|
|
}
|
|
}
|