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

Represents the automation peer for the RadHighlightTextBlock control, providing a way for UI automation clients to interact with the control. This class inherits from and overrides specific methods to expose additional properties and functionalities of the associated RadHighlightTextBlock instance. It provides tailored help text, localized control type, and the ability to retrieve custom property values related to highlighting features, such as highlight text, foreground, background, highlight mode, and case sensitivity.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class RadHighlightTextBlockAutomationPeer : TextBlockAutomationPeer

Inheritance: objectRadHighlightTextBlockAutomationPeer

Constructors

Initializes a new instance of the RadHighlightTextBlockAutomationPeer class.

C#
public RadHighlightTextBlockAutomationPeer(RadHighlightTextBlock owner)
Parameters:ownerRadHighlightTextBlock

The RadHighlightTextBlock that is associated with this RadHighlightTextBlockAutomationPeer.

Methods

Returns the name of the RadHighlightTextBlock that is associated with this RadHighlightTextBlockAutomationPeer.

C#
protected override string GetClassNameCore()
Returns:

string

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

Remarks:

This method is called by .

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

C#
protected override string GetHelpTextCore()
Returns:

string

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

C#
protected override sealed string GetItemStatusCore()
Returns:

string

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

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

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

Remarks:

This method is called by .