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)

Exposes PropertyGrid types to UI Automation.

public PropertyGridAutomationPeer(PropertyGrid owner)
Parameter Type Description
owner PropertyGrid

The owner element.

Methods

CreateItemAutomationPeer(object)

When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the Items collection of this ItemsControl.

protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameter Type Description
item object

The data item that is associated with this ItemAutomationPeer.

Returns

ItemAutomationPeer:

The new ItemAutomationPeer created.

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