ClassRadDiagramItemAutomationPeer
Automation peer for the class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
public class RadDiagramItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IScrollItemProvider
Inheritance: objectRadDiagramItemAutomationPeer
Derived Classes:
Implements:
Constructors
RadDiagramItemAutomationPeer(RadDiagramItem, RadDiagram)
Initializes a new instance of the RadDiagramItemAutomationPeer class.
Declaration
public RadDiagramItemAutomationPeer(RadDiagramItem owner, RadDiagram diagram)
Parameters
owner
The that will be associated with newly created object.
diagram
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
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
[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
protected override string GetClassNameCore()
Returns
The type of the owner.
GetItem()
Gets the item in the that is associated with this .
GetPattern(PatternInterface)
Gets the control pattern for the that is associated with this .
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
One of the enumeration values.
Returns
The object that implements the pattern interface, or null.