Class ItemControlAutomationPeer
Exposes ItemControl type to UI Automation.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class ItemControlAutomationPeer : ItemAutomationPeer
Constructors
ItemControlAutomationPeer(Object, ItemsControlAutomationPeer)
Initializes a new instance of the ItemControlAutomationPeer class.
Declaration
public ItemControlAutomationPeer(object item, ItemsControlAutomationPeer itemsControlAutomationPeer)
Parameters
System.Object
item
The data item in the System.Windows.Controls.ItemsControl.Items collection that is associated with this ItemControlAutomationPeer. |
System.Windows.Automation.Peers.ItemsControlAutomationPeer
itemsControlAutomationPeer
The System.Windows.Automation.Peers.ItemsControlAutomationPeer that is associated with the System.Windows.Controls.ItemsControl that holds the System.Windows.Controls.ItemsControl.Items collection. |
Methods
GetAutomationControlTypeCore()
Returns the control type for the element that is associated with this ItemControlAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
The System.Windows.Automation.Peers.AutomationControlType.ListItem enumeration value. |
Remarks
This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
GetClassNameCore()
Returns the name of the ItemControl that is associated with this ItemControlAutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
System.String
The name of the owner type that is associated with this ItemControlAutomationPeer. |
Remarks
This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
GetLocalizedControlTypeCore()
Returns a localized string that contains the type name of the owner control.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String
A localized string that contains the type name of the owner control. |
Remarks
This method is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType.