Class
AICard

Represents an AI card control used in conversational UI scenarios.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

cs-api-definition
public class AICard : Control

Inheritance: objectAICard

Constructors

AICard()

Declaration

cs-api-definition
public AICard()

Fields

AIAnswerProperty

Identifies the AIAnswer dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AIAnswerProperty

Field Value

DependencyProperty

AINameProperty

Identifies the AIName dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AINameProperty

Field Value

DependencyProperty

Properties

AIAnswer

Gets or sets the answer provided by the AI.

Declaration

cs-api-definition
public string AIAnswer { get; set; }

Property Value

string

AIName

Gets or sets the AI agent name.

Declaration

cs-api-definition
public string AIName { get; set; }

Property Value

string

Methods

OnApplyTemplate()

Applies the control template and sets the theme from the parent chat control.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnInitialized(EventArgs)

Raises the event and sets the default style key.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The event data.