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

Automation peer for the class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

C#
public class RadDiagramItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectRadDiagramItemAutomationPeer

Derived Classes: RadDiagramConnectionAutomationPeerRadDiagramContainerShapeAutomationPeerRadDiagramShapeAutomationPeerRadDiagramTextShapeAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

Initializes a new instance of the RadDiagramItemAutomationPeer class.

C#
public RadDiagramItemAutomationPeer(RadDiagramItem owner, RadDiagram diagram)
Parameters:ownerRadDiagramItem

The that will be associated with newly created object.

diagramRadDiagram

The RadDiagram that will be associated with newly created object.

Methods

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The enumeration value.

Returns child elements collection of the item 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 that is associated with this . This method is called by .

C#
protected override string GetClassNameCore()
Returns:

string

The type of the owner.

C#
protected override string GetHelpTextCore()
Returns:

string

Gets the item in the that is associated with this .

C#
public object GetItem()
Returns:

object

The data item.

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetNameCore()
Returns:

string

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

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

One of the enumeration values.

Returns:

object

The object that implements the pattern interface, or null.