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)

Exposes IntelliPromptCompletionListBox type instances to UI Automation.

public IntelliPromptCompletionListBoxAutomationPeer(IntelliPromptCompletionListBox owner)
Parameter Type Description
owner IntelliPromptCompletionListBox

The owner element.

Methods

CreateItemAutomationPeer(object)

Creates a new instance of the ItemAutomationPeer class.

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

The ListBoxItem that is associated with this ListBoxAutomationPeer.

Returns

ItemAutomationPeer:

A new instance of the ItemAutomationPeer class.

GetAutomationControlTypeCore()

Gets the control type for the Selector that is associated with this SelectorAutomationPeer. This method is called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The List enumeration value.

GetClassNameCore()

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

protected override string GetClassNameCore()

Returns

string:

A string that contains "ListBox".

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.

Extension Methods