In This Article

IntelliPromptCompletionListBoxAutomationPeer Class

Exposes IntelliPromptCompletionListBox type instances to UI Automation.

public class IntelliPromptCompletionListBoxAutomationPeer : ListBoxAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer SelectorAutomationPeer ListBoxAutomationPeer object

Constructors

IntelliPromptCompletionListBoxAutomationPeer(IntelliPromptCompletionListBox)

Initializes a new instance of the IntelliPromptCompletionListBoxAutomationPeer class.

public IntelliPromptCompletionListBoxAutomationPeer(IntelliPromptCompletionListBox owner)
Parameter Type Description
owner IntelliPromptCompletionListBox

The owner element.

Methods

CreateItemAutomationPeer(object)

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 ItemAutomationPeer that was created.

GetAutomationControlTypeCore()

Gets the control type for the element that is associated with the UI Automation peer.

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The control type.

GetClassNameCore()

Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.

protected override string GetClassNameCore()

Returns

string:

The class name.

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.