ComboBoxItemAutomationPeer ComboBoxItemAutomationPeer ComboBoxItemAutomationPeer Class

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

Syntax

Declaration

public class ComboBoxItemAutomationPeerpublic class ComboBoxItemAutomationPeerPublic Class ComboBoxItemAutomationPeer

Inheritance Hierarchy

Inherited Members

Inherited methods

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Inherited properties

, ,

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)
Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)
Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

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 summary

Initializes a new instance of the ComboBoxItemAutomationPeer class.

Constructors

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

    Initializes a new instance of the ComboBoxItemAutomationPeer class.

    public ComboBoxItemAutomationPeer(ComboBoxItem owner)public New(ComboBoxItem owner)Public Sub New(owner As ComboBoxItem)public ComboBoxItemAutomationPeer(ComboBoxItem owner)

    Parameters

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Automation.Peers.dll