menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpeechToTextButtonSettingsBuilder - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SpeechToTextButtonSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    SpeechToTextButtonSettingsBuilder
    Namespace: Syncfusion.EJ2.Inputs
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class SpeechToTextButtonSettingsBuilder : ControlBuilder

    Constructors

    SpeechToTextButtonSettingsBuilder()

    Declaration
    public SpeechToTextButtonSettingsBuilder()

    SpeechToTextButtonSettingsBuilder(SpeechToTextButtonSettings)

    Declaration
    public SpeechToTextButtonSettingsBuilder(SpeechToTextButtonSettings model)
    Parameters
    Type Name Description
    SpeechToTextButtonSettings model

    Methods

    Content(String)

    Specifies the text content to be displayed when the SpeechToText button is in the "start" state. This content appears alongside the icon or as standalone text based on the configuration.

    Declaration
    public SpeechToTextButtonSettingsBuilder Content(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpeechToTextButtonSettingsBuilder

    IconCss(String)

    Specifies the CSS classes for the icon displayed on the SpeechToText button. This class determines the appearance of the button icon in "start" state.

    Declaration
    public SpeechToTextButtonSettingsBuilder IconCss(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpeechToTextButtonSettingsBuilder

    IconPosition(Object)

    Specifies the position of the icon relative to the button text content in the SpeechToText component. This property can accept either a string or an IconPosition enum to determine the position of the icon.

    Declaration
    public SpeechToTextButtonSettingsBuilder IconPosition(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    SpeechToTextButtonSettingsBuilder

    IconPosition(String)

    Specifies the position of the icon relative to the button text content in the SpeechToText component. This property can accept either a string or an IconPosition enum to determine the position of the icon.

    Declaration
    public SpeechToTextButtonSettingsBuilder IconPosition(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpeechToTextButtonSettingsBuilder

    IsPrimary(Boolean)

    Specifies whether the button should be styled as a primary action button in the SpeechToText component. When set to true, the button applies primary styling.

    Declaration
    public SpeechToTextButtonSettingsBuilder IsPrimary(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    SpeechToTextButtonSettingsBuilder

    StopContent(String)

    Specifies the text content to be displayed when the SpeechToText button is in the "stop" state. This content appears alongside the icon or as standalone text based on the configuration.

    Declaration
    public SpeechToTextButtonSettingsBuilder StopContent(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpeechToTextButtonSettingsBuilder

    StopIconCss(String)

    Specifies the CSS classes for the icon displayed when the SpeechToText button is in the "stop" state. This class determines the styling of the button icon in the stop state, allowing for clear visual feedback.

    Declaration
    public SpeechToTextButtonSettingsBuilder StopIconCss(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpeechToTextButtonSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved