Share via


PayloadResult Enum

Definition

Important

The Windows.UI.Input.Preview.Text APIs are part of a Limited Access Feature (see LimitedAccessFeatures class). Use the LAF Access Token Request Form to request an unlock token.

Note

To use this API in a Windows app being published to the Windows Store, you must declare the Text Input Method custom capability (Microsoft.appCategory.textInputMethod_8wekyb3d8bbwe) and request approval during the app submission process. See Custom capabilities for more info.

The Text Input Method capability enables several advanced features related to text input, including events for input focus (determining when to enter and exit) and the ability to read and write text within the current input focus's edit control.

public enum class PayloadResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Input.Preview.Text.PreviewTextContract, 65536)]
enum class PayloadResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Input.Preview.Text.PreviewTextContract), 65536)]
public enum PayloadResult
var value = Windows.UI.Input.Preview.Text.PayloadResult.inEditing
Public Enum PayloadResult
Inheritance
PayloadResult
Attributes

Windows requirements

Requirements Description
Device family
Windows Desktop Extension SDK (introduced in 10.0.26100.0)
API contract
Windows.UI.Input.Preview.Text.PreviewTextContract (introduced in v1.0)

Fields

Name Value Description
InEditing 0
Pending 1
Completed 2
Overridden 3
Outrun 4
Rejected 5
Canceled 6

Applies to