Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenSpeechToTextButton

    RadzenSpeechToTextButton component. Enables speech to text functionality.

    This is only supported on select browsers. See https://caniuse.com/?search=SpeechRecognition

    <RadzenSpeechToTextButton Change=@(args => Console.WriteLine($"Value: {args}")) />
    Inheritance
    System.Object
    RadzenComponent
    RadzenSpeechToTextButton
    Implements
    IDisposable
    Inherited Members
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.OnInitialized()
    RadzenComponent.SetParametersAsync(ParameterView)
    RadzenComponent.Reference
    RadzenComponent.OnAfterRenderAsync(Boolean)
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Dispose()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenSpeechToTextButton : RadzenComponent, IDisposable

    Properties

    ButtonStyle

    Gets or sets the button style.

    Declaration
    public ButtonStyle ButtonStyle { get; set; }
    Property Value
    Type Description
    ButtonStyle

    The button style.

    Change

    Callback which provides results from the speech recognition API.

    Declaration
    public EventCallback<string> Change { get; set; }
    Property Value
    Type Description
    EventCallback<System.String>

    Icon

    Gets or sets the icon displayed while not recording.

    Declaration
    public string Icon { get; set; }
    Property Value
    Type Description
    System.String

    The icon.

    IconColor

    Gets or sets the icon color.

    Declaration
    public string IconColor { get; set; }
    Property Value
    Type Description
    System.String

    The icon color.

    Language

    Gets or sets the icon displayed while recording.

    Declaration
    public string Language { get; set; }
    Property Value
    Type Description
    System.String

    The icon.

    StopIcon

    Gets or sets the icon displayed while recording.

    Declaration
    public string StopIcon { get; set; }
    Property Value
    Type Description
    System.String

    The icon.

    StopTitle

    Gets or sets the message displayed when user hovers the button and it is recording.

    Declaration
    public string StopTitle { get; set; }
    Property Value
    Type Description
    System.String

    The message.

    Title

    Gets or sets the message displayed when user hovers the button and it is not recording.

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    System.String

    The message.

    Methods

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    System.String
    Overrides
    RadzenComponent.GetComponentCssClass()

    OnAfterRender(Boolean)

    Declaration
    protected override void OnAfterRender(bool firstRender)
    Parameters
    Type Name Description
    System.Boolean firstRender

    OnResult(String)

    Provides interface for javascript to pass speech results back to this component.

    Declaration
    public void OnResult(string result)
    Parameters
    Type Name Description
    System.String result

    StopRecording()

    Provides interface for javascript to stop speech to text recording on this component if another component starts recording.

    Declaration
    public void StopRecording()

    Implements

    IDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT