ClassAICardAutomationPeer
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:
public class AICardAutomationPeer : FrameworkElementAutomationPeer
Inheritance: objectAICardAutomationPeer
Constructors
AICardAutomationPeer(AICard)
Initializes a new instance of the AICardAutomationPeer class.
Properties
OwningAICardControl
Gets the AICard control associated with this automation peer.
Methods
GetAutomationControlTypeCore()
Returns the control type for UI automation.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
to indicate a custom control.
GetAutomationIdCore()
Returns the automation ID for the associated AICard control.
Declaration
protected override string GetAutomationIdCore()
Returns
The cached automation ID if set; otherwise, the class name.
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetClassNameCore()
Returns the class name for the associated AICard control.
Declaration
protected override string GetClassNameCore()
Returns
The class name "AICard".
GetHelpTextCore()
Returns the help text for the associated AICard control.
Declaration
protected override string GetHelpTextCore()
Returns
The help text string, or the class name if UseDefaultHelpText is true.
GetItemStatusCore()
Returns the item status for the associated AICard control.
Declaration
protected override string GetItemStatusCore()
Returns
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
protected override string GetLocalizedControlTypeCore()
Returns
The string "ai card".