In This Article

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().

protected override string GetClassNameCore()

Returns

string:

The class name.

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().

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.

Inherited Members

Extension Methods