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¶
| 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. |