Combo​Box​Item​Automation​Peer Combo​Box​Item​Automation​Peer Combo​Box​Item​Automation​Peer Combo​Box​Item​Automation​Peer Class

Definition

Exposes the ComboBoxItem contents in a ComboBox to Microsoft UI Automation.

public : class ComboBoxItemAutomationPeer : FrameworkElementAutomationPeer, IComboBoxItemAutomationPeerpublic class ComboBoxItemAutomationPeer : FrameworkElementAutomationPeer, IComboBoxItemAutomationPeerPublic Class ComboBoxItemAutomationPeer Inherits FrameworkElementAutomationPeer Implements IComboBoxItemAutomationPeer// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

The Windows Runtime ComboBoxItem class creates a new ComboBoxItemAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from ComboBoxItemAutomationPeer if you are deriving a custom class from ComboBoxItem and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer so that it returns your custom peer.

Default peer implementation and overrides in ComboBoxItemAutomationPeer

ComboBoxItemAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

Constructors

ComboBoxItemAutomationPeer(ComboBoxItem) ComboBoxItemAutomationPeer(ComboBoxItem) ComboBoxItemAutomationPeer(ComboBoxItem) ComboBoxItemAutomationPeer(ComboBoxItem)

Initializes a new instance of the ComboBoxItemAutomationPeer class.

public : ComboBoxItemAutomationPeer(ComboBoxItem owner)public ComboBoxItemAutomationPeer(ComboBoxItem owner)Public Sub New(owner As ComboBoxItem)// This API is not available in Javascript.
Parameters
owner
ComboBoxItem ComboBoxItem ComboBoxItem ComboBoxItem

The ComboBoxItem to create the peer for.

See Also