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

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:

C#
public class RadBookItemAutomationPeer : ItemAutomationPeer

Inheritance: objectRadBookItemAutomationPeer

Constructors

Initializes a new instance of the RadBookItemAutomationPeer class.

C#
public RadBookItemAutomationPeer(object owner, ItemsControlAutomationPeer peer)
Parameters:ownerobjectpeerItemsControlAutomationPeer

Methods

When overridden in a derived class, is called by .

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The control type, as a value of the enumeration.

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

C#
protected override string GetClassNameCore()
Returns:

string

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

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetNameCore()
Returns:

string

The name.

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

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

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.