Class
RadHighlightTextBlockAutomationPeer

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:

cs-api-definition
public class RadHighlightTextBlockAutomationPeer : TextBlockAutomationPeer

Inheritance: objectRadHighlightTextBlockAutomationPeer

Constructors

RadHighlightTextBlockAutomationPeer(RadHighlightTextBlock)

Initializes a new instance of the RadHighlightTextBlockAutomationPeer class.

Declaration

cs-api-definition
public RadHighlightTextBlockAutomationPeer(RadHighlightTextBlock owner)

Parameters

owner

RadHighlightTextBlock

The RadHighlightTextBlock that is associated with this RadHighlightTextBlockAutomationPeer.

Methods

GetClassNameCore()

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

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

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

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 .