Class SpeechToTextButtonSettings
Inheritance
Namespace: Syncfusion.EJ2.Inputs
Assembly: Syncfusion.EJ2.dll
Syntax
public class SpeechToTextButtonSettings : EJTagHelper
Constructors
SpeechToTextButtonSettings()
Declaration
public SpeechToTextButtonSettings()
Properties
Content
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 string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
IconCss
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 string IconCss { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
IconPosition
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 object IconPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
IsPrimary
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 bool IsPrimary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
StopContent
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 string StopContent { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
StopIconCss
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 string StopIconCss { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |