New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadRichTextBoxAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadRichTextBoxAutomationPeer

Constructors

Initializes a new instance of the RadRichTextBoxAutomationPeer class.

C#
public RadRichTextBoxAutomationPeer(RadRichTextBox owner)
Parameters:ownerRadRichTextBox

The owner.

Methods

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The enumeration value.

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

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

A list of child AutomationPeer elements.

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

C#
protected override string GetClassNameCore()
Returns:

string

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

C#
protected override string GetHelpTextCore()
Returns:

string

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

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

C#
protected override string GetItemStatusCore()
Returns:

string

The string that contains the that is returned by .

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

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

A value from the enumeration.

Returns:

object