Share via


AutoSuggestionBoxTextChangeReason Enum

Definition

Values used to indicate the reason for the text changing in the AutoSuggestBox.

public enum class AutoSuggestionBoxTextChangeReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AutoSuggestionBoxTextChangeReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AutoSuggestionBoxTextChangeReason
Public Enum AutoSuggestionBoxTextChangeReason
Inheritance
AutoSuggestionBoxTextChangeReason
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
UserInput 0

The user edited the text.

ProgrammaticChange 1

The text was changed via code.

SuggestionChosen 2

The user selected one of the items in the auto-suggestion box.

Applies to