Class
RadAIPromptButtonAutomationPeer

Exposes RadAIPromptButton type to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

cs-api-definition
public class RadAIPromptButtonAutomationPeer : RadButtonAutomationPeer

Inheritance: objectRadButtonAutomationPeerRadAIPromptButtonAutomationPeer

Inherited Members RadButtonAutomationPeer.GetPattern(PatternInterface)RadButtonAutomationPeer.GetAutomationControlTypeCore()RadButtonAutomationPeer.GetAutomationIdCore()

Constructors

RadAIPromptButtonAutomationPeer(RadAIPromptButton)

Initializes a new instance of the RadAIPromptButtonAutomationPeer class.

Declaration

cs-api-definition
public RadAIPromptButtonAutomationPeer(RadAIPromptButton owner)

Parameters

owner

RadAIPromptButton

The owner.

Methods

GetChildrenCore()

Returns the collection of child elements of the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification = "This is an override of a built-in class, the return type cannot be changed.")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

A list of child AutomationPeer elements.

GetClassNameCore()

Returns the name of the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The name of the owner type that is associated with this . See Remarks.

Overrides RadButtonAutomationPeer.GetClassNameCore()

GetHelpTextCore()

Returns the string that describes the functionality of the FrameworkElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

The help text, or Empty if there is no help text.

Overrides RadButtonAutomationPeer.GetHelpTextCore()

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

Overrides RadButtonAutomationPeer.GetItemStatusCore()

GetNameCore()

Returns the text label of the FrameworkElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

The text label of the element that is associated with this automation peer.

Overrides RadButtonAutomationPeer.GetNameCore()

Invoke()

Sends a request to activate a control and initiate its single, unambiguous action.

Declaration

cs-api-definition
public void Invoke()