Search​Box​Automation​Peer Search​Box​Automation​Peer Search​Box​Automation​Peer Class

Definition

Exposes SearchBox types to Microsoft UI Automation.

public class SearchBoxAutomationPeer : FrameworkElementAutomationPeer, ISearchBoxAutomationPeerpublic class SearchBoxAutomationPeer : FrameworkElementAutomationPeer, ISearchBoxAutomationPeerPublic Class SearchBoxAutomationPeer Inherits FrameworkElementAutomationPeer Implements ISearchBoxAutomationPeer
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

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 SearchBox class creates a new SearchBoxAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from SearchBoxAutomationPeer if you are deriving a custom class from SearchBox 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 SearchBoxAutomationPeer

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

Constructors

SearchBoxAutomationPeer(SearchBox) SearchBoxAutomationPeer(SearchBox) SearchBoxAutomationPeer(SearchBox)

Initializes a new instance of the SearchBoxAutomationPeer class.

public SearchBoxAutomationPeer(SearchBox owner)public SearchBoxAutomationPeer(SearchBox owner)Public Sub New(owner As SearchBox)
Parameters
owner
SearchBox SearchBox SearchBox

The SearchBox to create a peer for.

Attributes