In This Article

IntelliPromptCompletionListBoxItemAutomationPeer Class

Exposes IntelliPromptCompletionListBoxItem type instances to UI Automation.

public class IntelliPromptCompletionListBoxItemAutomationPeer : ListBoxItemAutomationPeer
Inheritance:
object AutomationPeer ItemAutomationPeer SelectorItemAutomationPeer ListBoxItemAutomationPeer object

Constructors

IntelliPromptCompletionListBoxItemAutomationPeer(object, IntelliPromptCompletionListBoxAutomationPeer)

Exposes IntelliPromptCompletionListBoxItem type instances to UI Automation.

public IntelliPromptCompletionListBoxItemAutomationPeer(object owner, IntelliPromptCompletionListBoxAutomationPeer selectorAutomationPeer)
Parameter Type Description
owner object

The owner element.

selectorAutomationPeer IntelliPromptCompletionListBoxAutomationPeer

The selector's automation peer.s

Methods

GetAutomationControlTypeCore()

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

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The ListItem enumeration value.

GetClassNameCore()

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

protected override string GetClassNameCore()

Returns

string:

A string that contains "ListBoxItem".

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 UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer.

protected override string GetNameCore()

Returns

string:

The text label.

Extension Methods