PropertyGridItemAutomationPeer Class
Exposes PropertyGrid data items to UI Automation.
public class PropertyGridItemAutomationPeer : TreeListBoxItemAutomationPeer
- Inheritance:
- object AutomationPeer ItemAutomationPeer TreeListBoxItemAutomationPeer object
Constructors
PropertyGridItemAutomationPeer(object, PropertyGridAutomationPeer)
Exposes PropertyGrid data items to UI Automation.
public PropertyGridItemAutomationPeer(object item, PropertyGridAutomationPeer itemsControlAutomationPeer)
| Parameter | Type | Description |
|---|---|---|
| item | object | The data item. |
| itemsControlAutomationPeer | PropertyGridAutomationPeer | The items control automation peer. |
Methods
GetAutomationIdCore()
Gets the string that uniquely identifies the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer.
protected override string GetAutomationIdCore()
Returns
- string:
A string that contains the UI Automation identifier.
GetClassNameCore()
When overridden in a derived class, is called by GetClassName().
GetItemTypeCore()
Gets a human-readable string that contains the type of item that the specified UIElement represents.
protected override string GetItemTypeCore()
Returns
- string:
The item type. An example includes "Mail Message" or "Contact".
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().
Inherited Members
- TreeListBoxItemAutomationPeer.Collapse()
- TreeListBoxItemAutomationPeer.Expand()
- TreeListBoxItemAutomationPeer.GetAutomationControlTypeCore()
- TreeListBoxItemAutomationPeer.GetPattern(PatternInterface)
- TreeListBoxItemAutomationPeer.ScrollIntoView()
- TreeListBoxItemAutomationPeer.ExpandCollapseState