PromptBox

Properties

ActionButton - PromptBoxActionButtonSettings

Controls the visibility and configuration of the Action button (send/stop) in the end affix.

Enable - Nullable

EndAffixTemplateHandler - String

FileSelectButton - PromptBoxFileSelectButtonSettings

Controls the visibility and configuration of the File Select button in the end affix. When enabled, users can attach files to their prompts.

FillMode - Nullable

Loading - Nullable

MaxTextAreaHeight - Nullable

Messages - PromptBoxMessagesSettings

Sets the placeholder text for the input field.

Mode - Nullable

Placeholder - String

Readonly - Nullable

Rows - Nullable

SpeechToTextButton - PromptBoxSpeechToTextButtonSettings

Enables or disables the Speech to Text button.

StartAffixTemplateHandler - String

Title - String

TopAffixTemplateHandler - String

Value - String

Initializer - IJavaScriptInitializer

Events - IDictionary

Name - String

Id - String

ShouldSanitezeId - Boolean

ModelMetadata - ModelMetadata

HtmlAttributes - IDictionary

ScriptAttributes - IDictionary

ViewContext - ViewContext

ViewData - ViewDataDictionary

IsSelfInitialized - Boolean

IsInClientTemplate - Boolean

HasDeferredInitialization - Boolean

Selector - String

HasClientComponent - Boolean

Methods

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer - System.IO.TextWriter

The System.IO.TextWriter.

Serialize()

Render()

Renders the component.

VerifySettings()

ToHtmlString()

GetHtml(System.Boolean)

Parameters

includeScript - System.Boolean

GetInitializator()

WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

Parameters

writer - System.IO.TextWriter

The writer.

DeferStyles()

ToClientTemplate()