TreeListBoxAutomationPeer Class
Exposes TreeListBox types to UI Automation.
public class TreeListBoxAutomationPeer : ItemsControlAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer object
- Derived:
- TreeListViewAutomationPeer
Constructors
TreeListBoxAutomationPeer(TreeListBox)
Initializes a new instance of the TreeListBoxAutomationPeer
class.
public TreeListBoxAutomationPeer(TreeListBox owner)
Parameter | Type | Description |
---|---|---|
owner | TreeListBox | The owner element. |
Methods
CreateItemAutomationPeer(object)
Creates an ItemAutomationPeer
for a data item.
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameter | Type | Description |
---|---|---|
item | object | The data item. |
Returns
- ItemAutomationPeer:
The
ItemAutomationPeer
that was created.
GetAutomationControlTypeCore()
Gets the control type for the element that is associated with the UI Automation peer.
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
- AutomationControlType:
The control type.
GetChildrenCore()
Returns the collection elements represented in the UI Automation tree as immediate child elements of the automation peer.
protected override List<AutomationPeer> GetChildrenCore()
Returns
- List<AutomationPeer>:
The list of child elements.
GetClassNameCore()
Gets a name that is used with AutomationControlType
, to differentiate the control that is represented by this AutomationPeer
.
GetLocalizedControlTypeCore()
Gets a localized string that represents the AutomationControlType
value for the control that is associated with this automation peer.