Class
RadRichTextBoxAutomationPeer

Provides the automation peer for the RadRichTextBox control, enabling UI Automation support to provide accessibility features for the control. This class extends the class and facilitates the interaction between UI Automation clients and the RadRichTextBox owner by implementing the necessary control patterns such as Text, Scroll, and Value. It handles the automation-related details, including the retrieval of control type, class name, help text, child elements, and the current visual status.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class RadRichTextBoxAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadRichTextBoxAutomationPeer

Constructors

RadRichTextBoxAutomationPeer(RadRichTextBox)

Initializes a new instance of the RadRichTextBoxAutomationPeer class.

Declaration

cs-api-definition
public RadRichTextBoxAutomationPeer(RadRichTextBox owner)

Parameters

owner

RadRichTextBox

The owner.

Methods

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The enumeration value.

GetChildrenCore()

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

Declaration

cs-api-definition
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

A list of child AutomationPeer elements.

GetClassNameCore()

Gets 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

GetHelpTextCore()

Gets the string that describes the functionality of the that is associated with this . Called by .

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

The help text, usually from the ToolTip, or Empty if there is no help text.

GetItemStatusCore()

Gets a string that communicates the visual status of the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

The string that contains the that is returned by .

GetPattern(PatternInterface)

Gets the control pattern for the UIElement that is associated with this .

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

A value from the enumeration.

Returns

object