AutoSuggestBoxAutomationPeer.Invoke Method

Definition

Sends a request to submit the auto-suggest query to the AutoSuggestBox associated with the automation peer.

public:
 virtual void Invoke() = Invoke;
void Invoke();
public void Invoke();
function invoke()
Public Sub Invoke ()

Implements

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

Calls to Invoke should return immediately without blocking. However, this behavior is entirely dependent on the Microsoft UI Automation provider implementation. In scenarios where calling Invoke causes a blocking issue, such as a modal dialog, a separate helper thread may be required to call the method.

Applies to