alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SfSmartTextArea

    The SfSmartTextArea component provides an intelligent text editing experience with features like auto-completion and context-aware suggestions. Inherits all functionalities and properties from Syncfusion SfTextArea component.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    SfInputTextBase<string>
    SfTextArea
    SfSmartTextArea
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicenseByUICategory()
    SfInputTextBase<string>._value
    SfInputTextBase<string>.BaseAutocomplete
    SfInputTextBase<string>.BaseIsReadOnlyInput
    SfInputTextBase<string>.BaseWidth
    SfInputTextBase<string>.ClearElement
    SfInputTextBase<string>.ComponentReference
    SfInputTextBase<string>.ContainerAttr
    SfInputTextBase<string>.containerAttributes
    SfInputTextBase<string>.CssClass
    SfInputTextBase<string>.DataId
    SfInputTextBase<string>.DecrementTitle
    SfInputTextBase<string>.Enabled
    SfInputTextBase<string>.EnablePersistence
    SfInputTextBase<string>.EnableRtl
    SfInputTextBase<string>.FloatLabel
    SfInputTextBase<string>.FormatValue(string)
    SfInputTextBase<string>.FormatValueAsString(string)
    SfInputTextBase<string>.ID
    SfInputTextBase<string>.IncrementTitle
    SfInputTextBase<string>.inputAttr
    SfInputTextBase<string>.InputEditContext
    SfInputTextBase<string>.IsClearButtonClicked
    SfInputTextBase<string>.IsFocused
    SfInputTextBase<string>.ListOfButtons
    SfInputTextBase<string>.MultilineInput
    SfInputTextBase<string>.OnAfterRenderAsync(bool)
    SfInputTextBase<string>.OnInitializedAsync()
    SfInputTextBase<string>.OnInputHandler(ChangeEventArgs)
    SfInputTextBase<string>.OnPasteHandler(ClipboardEventArgs)
    SfInputTextBase<string>.SetEnabled()
    SfInputTextBase<string>.ValidateOnInput
    SfInputTextBase<string>.Value
    SfInputTextBase<string>.ValueChanged
    SfTextArea.BaseFloatLabelType
    SfTextArea.BaseHtmlAttributes
    SfTextArea.BaseInputAttributes
    SfTextArea.BasePlaceholder
    SfTextArea.BaseReadonly
    SfTextArea.BaseShowClearButton
    SfTextArea.BaseTabIndex
    SfTextArea.Blur
    SfTextArea.ChangeHandler(ChangeEventArgs)
    SfTextArea.ColumnCount
    SfTextArea.Created
    SfTextArea.Destroyed
    SfTextArea.Disabled
    SfTextArea.FloatLabelType
    SfTextArea.Focus
    SfTextArea.FocusAsync()
    SfTextArea.FocusHandler(FocusEventArgs)
    SfTextArea.FocusOutAsync()
    SfTextArea.FocusOutHandler(FocusEventArgs)
    SfTextArea.GetPersistDataAsync()
    SfTextArea.HtmlAttributes
    SfTextArea.Input
    SfTextArea.InputAttributes
    SfTextArea.InputHandler(ChangeEventArgs)
    SfTextArea.MaxLength
    SfTextArea.Placeholder
    SfTextArea.ReadOnly
    SfTextArea.ResizeMode
    SfTextArea.RowCount
    SfTextArea.ShowClearButton
    SfTextArea.TabIndex
    SfTextArea.ValueChange
    SfTextArea.Width
    Namespace: Syncfusion.Blazor.SmartComponents
    Assembly: Syncfusion.Blazor.SmartComponents.dll
    Syntax
    public class SfSmartTextArea : SfTextArea, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    SfSmartTextArea()

    Declaration
    public SfSmartTextArea()

    Properties

    ShowSuggestionOnPopup

    Specifies whether suggestions should appear in a popup or inline within the text area.

    Declaration
    [Parameter]
    public bool? ShowSuggestionOnPopup { get; set; }
    Property Value
    Type
    bool?
    Remarks

    Set to true to show suggestions in a popup. If false, suggestions will appear inline within the text area.

    UserPhrases

    Specifies a collection of phrases commonly used by the user, which can be leveraged for auto-completion and suggestions.

    Declaration
    [Parameter]
    public string[] UserPhrases { get; set; }
    Property Value
    Type
    string[]
    Remarks

    Provide an array of string phrases commonly used by the user to enhance auto-completion and suggestions. Include preferred tone, voice, and any relevant information such as policies, URLs, or keywords for improved suggestions.

    UserRole

    Represents the user's role or designation, which can be used to provide role-specific suggestions or content within the smart text area.

    Declaration
    [Parameter]
    public string UserRole { get; set; }
    Property Value
    Type
    string
    Remarks

    Provide a string that describes who is typing and for what reason, optionally giving other contextual information.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder builder)
    Parameters
    Type Name Description
    RenderTreeBuilder builder
    Overrides
    SfTextArea.BuildRenderTree(RenderTreeBuilder)

    OnParametersSetAsync()

    Handles parameter updates and property changes when the component receives new parameters.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    Task

    A Task representing the asynchronous parameter update operation.

    Overrides
    SfTextArea.OnParametersSetAsync()
    Remarks

    This method is called whenever the component's parameters are updated. It processes property changes, updates the component state accordingly, and ensures validation classes are properly applied.

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved