In This Article

PropertyGridAutomationPeer Class

Exposes PropertyGrid types to UI Automation.

public class PropertyGridAutomationPeer : TreeListViewAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer TreeListBoxAutomationPeer TreeListViewAutomationPeer object

Constructors

PropertyGridAutomationPeer(PropertyGrid)

Initializes a new instance of the PropertyGridAutomationPeer class.

public PropertyGridAutomationPeer(PropertyGrid owner)
Parameter Type Description
owner PropertyGrid

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.

GetLocalizedControlTypeCore()

Gets a localized string that represents the AutomationControlType value for the control that is associated with this automation peer.

protected override string GetLocalizedControlTypeCore()

Returns

string:

The control type.

Inherited Members