Class
AICardAutomationPeer

Represents the automation peer for the AICard control, enabling UI automation support.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

cs-api-definition
public class AICardAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectAICardAutomationPeer

Constructors

AICardAutomationPeer(AICard)

Initializes a new instance of the AICardAutomationPeer class.

Declaration

cs-api-definition
public AICardAutomationPeer(AICard cardControl)

Parameters

cardControl

AICard

The AICard control associated with this automation peer.

Properties

OwningAICardControl

Gets the AICard control associated with this automation peer.

Declaration

cs-api-definition
public AICard OwningAICardControl { get; }

Property Value

AICard

Methods

GetAutomationControlTypeCore()

Returns the control type for UI automation.

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

to indicate a custom control.

GetAutomationIdCore()

Returns the automation ID for the associated AICard control.

Declaration

cs-api-definition
protected override string GetAutomationIdCore()

Returns

string

The cached automation ID if set; otherwise, the class name.

GetChildrenCore()

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

GetClassNameCore()

Returns the class name for the associated AICard control.

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The class name "AICard".

GetHelpTextCore()

Returns the help text for the associated AICard control.

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

The help text string, or the class name if UseDefaultHelpText is true.

GetItemStatusCore()

Returns the item status for the associated AICard control.

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

A serialized string of custom property values if AutomationMode is set to Advanced; otherwise, the base implementation.

GetLocalizedControlTypeCore()

Returns the localized control type for the associated AICard control.

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

The string "ai card".