Back to Devexpress

AutoSuggestEdit.TextChanged Event

wpf-devexpress-dot-xpf-dot-editors-dot-autosuggestedit-a2054e50.md

latest2.1 KB
Original Source

AutoSuggestEdit.TextChanged Event

Occurs when the editor’s text has been changed due to edit value change, selecting any suggestion from the popup, or entering a custom text in editor’s text box.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public event EventHandler<AutoSuggestEditTextChangedEventArgs> TextChanged
vb
Public Event TextChanged As EventHandler(Of AutoSuggestEditTextChangedEventArgs)

Event Data

The TextChanged event's data class is AutoSuggestEditTextChangedEventArgs. The following properties provide information specific to this event:

PropertyDescription
ReasonReturns the reason of changing the editor’s text.
TextGets a new text displayed within the editor’s text box.

Remarks

Handle the TextChanged event to get the new text, and to get the reason for the text changing.

Use the event arguments’ AutoSuggestEditTextChangedEventArgs.Text property to get the new text, entered in editor’s text box.

To get the reason for the text changing, use the AutoSuggestEditTextChangedEventArgs.Reason property.

See Also

SetEditText(String)

AutoSuggestEdit Class

AutoSuggestEdit Members

DevExpress.Xpf.Editors Namespace