Class
RadDiagramItemAutomationPeer

Automation peer for the class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

cs-api-definition
public class RadDiagramItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectRadDiagramItemAutomationPeer

Derived Classes: RadDiagramConnectionAutomationPeerRadDiagramContainerShapeAutomationPeerRadDiagramShapeAutomationPeerRadDiagramTextShapeAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

RadDiagramItemAutomationPeer(RadDiagramItem, RadDiagram)

Initializes a new instance of the RadDiagramItemAutomationPeer class.

Declaration

cs-api-definition
public RadDiagramItemAutomationPeer(RadDiagramItem owner, RadDiagram diagram)

Parameters

owner

RadDiagramItem

The that will be associated with newly created object.

diagram

RadDiagram

The RadDiagram that will be associated with newly created object.

Methods

GetAutomationControlTypeCore()

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

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The enumeration value.

GetChildrenCore()

Returns child elements collection of the item that is associated with this . This method is called by .

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

A list of child AutomationPeer elements.

GetClassNameCore()

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

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The type of the owner.

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItem()

Gets the item in the that is associated with this .

Declaration

cs-api-definition
public object GetItem()

Returns

object

The data item.

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

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

Declaration

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

Parameters

patternInterface

PatternInterface

One of the enumeration values.

Returns

object

The object that implements the pattern interface, or null.