In This Article

PropertyGridItemWrapperAutomationPeer Class

Exposes PropertyGridItem types to UI Automation.

public class PropertyGridItemWrapperAutomationPeer : TreeListViewItemWrapperAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer TreeListBoxItemWrapperAutomationPeer TreeListViewItemWrapperAutomationPeer object

Constructors

PropertyGridItemWrapperAutomationPeer(PropertyGridItem)

Exposes PropertyGridItem types to UI Automation.

public PropertyGridItemWrapperAutomationPeer(PropertyGridItem owner)
Parameter Type Description
owner PropertyGridItem

The owner element.

Methods

GetAutomationIdCore()

Gets the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer. Called by GetAutomationId().

protected override string GetAutomationIdCore()

Returns

string:

The automation identifier for the element associated with the FrameworkElementAutomationPeer, or Empty if there isn't an automation identifier.

GetItemTypeCore()

Gets a human-readable string that contains the item type that the UIElement for this UIElementAutomationPeer represents. This method is called by GetItemType().

protected override string GetItemTypeCore()

Returns

string:

The string that contains the System.Windows.Automation.AutomationProperties.ItemType that is returned by System.Windows.Automation.AutomationProperties.GetItemType(System.Windows.DependencyObject).

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by GetLocalizedControlType().

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.

GetNameCore()

Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetName().

protected override string GetNameCore()

Returns

string:

The text label of the element that is associated with this automation peer.

Inherited Members

Extension Methods