TreeListViewAutomationPeer Class
Exposes TreeListView types to UI Automation.
public class TreeListViewAutomationPeer : TreeListBoxAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer TreeListBoxAutomationPeer object
- Derived:
- PropertyGridAutomationPeer
Constructors
TreeListViewAutomationPeer(TreeListView)
Initializes a new instance of the TreeListViewAutomationPeer
class.
public TreeListViewAutomationPeer(TreeListView owner)
Parameter | Type | Description |
---|---|---|
owner | TreeListView | 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.
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.
GetLocalizedControlTypeCore()
Gets a localized string that represents the AutomationControlType
value for the control that is associated with this automation peer.