Class
RadCalloutAutomationPeer

Provides the automation peer for the RadCallout control, allowing accessibility tools such as screen readers to interact with and understand the callout element in a user interface. This class derives from and overrides methods to provide specific information about the RadCallout, including its name, control type, localized control type, help text, and custom properties. The RadCalloutAutomationPeer allows for improved accessibility and automation functionality by exposing the necessary elements for automation frameworks to interact with the RadCallout.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class RadCalloutAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadCalloutAutomationPeer

Constructors

RadCalloutAutomationPeer(RadCallout)

Initializes a new instance of the RadCalloutAutomationPeer class.

Declaration

cs-api-definition
public RadCalloutAutomationPeer(RadCallout owner)

Parameters

owner

RadCallout

The RadCallout that is associated with this RadCalloutAutomationPeer.

Methods

GetAutomationControlTypeCore()

Returns the control type for the element that is associated with this RadCalloutAutomationPeer.

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The enumeration value.

Remarks

This method is called by .

GetClassNameCore()

Returns the name of the RadCallout that is associated with this RadCalloutAutomationPeer.

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

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

Remarks

This method is called by .

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.

GetItemStatusCore()

Declaration

cs-api-definition
protected override sealed string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Returns a localized string that contains the type name of the owner control.

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

A localized string that contains the type name of the owner control.

Remarks

This method is called by .

GetNameCore()

Gets the text label of owner callout. Called by System.Windows.Automation.Peers.AutomationPeer.GetName().

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string