Skip to content

AutoSuggestionBoxTextChangeReason enum

Defined in

Namespace: CrissCross.Avalonia.UI.Controls Assembly: CrissCross.Avalonia.UI.dll Full name: CrissCross.Avalonia.UI.Controls.AutoSuggestionBoxTextChangeReason Modifiers: public sealed

Summary

        Specifies the reason for a text change event in an auto-suggestion box.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Remarks

Use this enumeration to determine whether a text change was triggered by user input, programmatic modification, or by the user selecting a suggestion. This information can be used to adjust application behavior, such as filtering suggestions or handling selection events appropriately.

Values

NameValueDescription
UserInput0The user edited the text.
ProgrammaticChange1The text was changed via code.
SuggestionChosen2The user selected one of the items in the auto-suggestion box.