Class
RadBookItemAutomationPeer

Represents the automation peer for a RadBookItem. This class provides the required methods to interact with the UI Automation framework and expose properties of a RadBookItem to assistive technologies. It extends the ItemAutomationPeer class to provide automation support for elements within a RadBook, allowing for retrieval of control patterns, properties, and the status of the individual book items.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadBookItemAutomationPeer : ItemAutomationPeer

Inheritance: objectRadBookItemAutomationPeer

Constructors

RadBookItemAutomationPeer(object, ItemsControlAutomationPeer)

Initializes a new instance of the RadBookItemAutomationPeer class.

Declaration

cs-api-definition
public RadBookItemAutomationPeer(object owner, ItemsControlAutomationPeer peer)

Parameters

owner

object

peer

ItemsControlAutomationPeer

Methods

GetAutomationControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The control type, as a value of the enumeration.

GetClassNameCore()

Returns 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

The name of the owner type that is associated with this . See "Notes for Inheritors".

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

The name.

GetPattern(PatternInterface)

Returns the object that supports the specified control pattern of the element that is associated with this automation peer.

Declaration

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

Parameters

patternInterface

PatternInterface

An enumeration value that specifies the control pattern.

Returns

object

An object that supports the control pattern if patternInterface is a supported value; otherwise, null.