In This Article

UserPromptButtonItemsControlItemAutomationPeer Class

Exposes UserPromptButtonItemsControl item types to UI Automation.

public class UserPromptButtonItemsControlItemAutomationPeer : ItemAutomationPeer
Inheritance:
object AutomationPeer ItemAutomationPeer object

Constructors

UserPromptButtonItemsControlItemAutomationPeer(object, UserPromptButtonItemsControlAutomationPeer)

Initializes a new instance of the UserPromptButtonItemsControlItemAutomationPeer class.

public UserPromptButtonItemsControlItemAutomationPeer(object item, UserPromptButtonItemsControlAutomationPeer itemsControlAutomationPeer)
Parameter Type Description
item object

The data item in the collection that is associated with this ItemAutomationPeer.

itemsControlAutomationPeer UserPromptButtonItemsControlAutomationPeer

The ItemsControlAutomationPeer that is associated with the ItemsControl that holds the data item.

Methods

GetAutomationControlTypeCore()

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

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The control type.

GetClassNameCore()

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

protected override string GetClassNameCore()

Returns

string:

The class name.

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.