Class ListBoxItemAutomationPeer
Inheritance
Namespace: Telerik.Windows.Controls.Automation.Peers
Assembly: Telerik.Windows.Controls.dll
Syntax
public class ListBoxItemAutomationPeer : SelectorItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider
Constructors
ListBoxItemAutomationPeer(Object, SelectorAutomationPeer)
Initializes a new instance of the ListBoxItemAutomationPeer class.
Declaration
public ListBoxItemAutomationPeer(object owner, SelectorAutomationPeer selectorAutomationPeer)
Parameters
System.Object
owner
The owner. |
SelectorAutomationPeer
selectorAutomationPeer
The selector automation peer. |
Methods
GetAutomationControlTypeCore()
Returns the control type for the item that is associated with this System.Windows.Automation.Peers.ItemAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
A value of the enumeration. |
GetClassNameCore()
Returns the class name of the item that is associated with this System.Windows.Automation.Peers.ItemAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
System.String
The name of the owner type that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. See Remarks. |
GetPattern(PatternInterface)
Returns the control pattern for the item that is associated with this System.Windows.Automation.Peers.ItemAutomationPeer.
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 if the specified pattern interface is not implemented. |