In This Article

UserPromptButtonItemsControlAutomationPeer Class

Exposes UserPromptButtonItemsControl types to UI Automation.

public class UserPromptButtonItemsControlAutomationPeer : ItemsControlAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer object

Constructors

UserPromptButtonItemsControlAutomationPeer(UserPromptButtonItemsControl)

Initializes a new instance of the UserPromptButtonItemsControlAutomationPeer class.

public UserPromptButtonItemsControlAutomationPeer(UserPromptButtonItemsControl owner)
Parameter Type Description
owner UserPromptButtonItemsControl

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.

GetClassNameCore()

Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

An Empty string.

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.