Class TextAreaTextEditor
public class TextAreaTextEditor : ModuleControlBase, IModuleControl, ITextEditor
- Inheritance
-
objectComponentBaseTextAreaTextEditor
- Implements
- Inherited Members
Properties
Name
public string Name { get; }
Property Value
- string
Placeholder
[Parameter]
public string Placeholder { get; set; }
Property Value
- string
ReadOnly
[Parameter]
public bool ReadOnly { get; set; }
Property Value
- bool
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
GetContent()
get content from the editor.
public Task<string> GetContent()
Returns
- Task<string>
Initialize(string)
initializes the editor with the initialize content.
public void Initialize(string content)
Parameters
content
stringthe initialize content.