Class RadDiagramItemAutomationPeer
Automation peer for the Telerik.Windows.Controls.RadDiagramItem class.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
public class RadDiagramItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IScrollItemProvider
Constructors
RadDiagramItemAutomationPeer(RadDiagramItem, RadDiagram)
Initializes a new instance of the RadDiagramItemAutomationPeer class.
Declaration
public RadDiagramItemAutomationPeer(RadDiagramItem owner, RadDiagram diagram)
Parameters
RadDiagramItem
owner
The Telerik.Windows.Controls.RadDiagramItem that will be associated with newly created Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramItemAutomationPeer object. |
RadDiagram
diagram
The RadDiagram that will be associated with newly created Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramItemAutomationPeer object. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the Telerik.Windows.Controls.RadDiagramItem that is associated with this Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramItemAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
The System.Windows.Automation.Peers.AutomationControlType.TabItem enumeration value. |
GetChildrenCore()
Returns child elements collection of the item that is associated with this Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramItemAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren.
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
A list of child System.Windows.Automation.Peers.AutomationPeer elements. |
GetClassNameCore()
Gets the name of the Telerik.Windows.Controls.RadDiagramItem that is associated with this Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramItemAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
System.String
The type of the owner. |
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
GetItem()
Gets the item in the that is associated with this Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramItemAutomationPeer.
Declaration
public object GetItem()
Returns
System.Object
The data item. |
GetNameCore()
Declaration
protected override string GetNameCore()
Returns
System.String
|
GetPattern(PatternInterface)
Gets the control pattern for the Telerik.Windows.Controls.RadDiagramItem that is associated with this Telerik.Windows.Controls.Diagrams.AutomationPeers.RadDiagramItemAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
One of the enumeration values. |
Returns
System.Object
The object that implements the pattern interface, or null. |