System.Windows.Controls.AutoCompleteBox.OnTextBoxTextChanged C# (CSharp) Méthode

OnTextBoxTextChanged() private méthode

Handle the TextChanged event that is directly attached to the TextBox part. This ensures that only user initiated actions will result in an AutoCompleteBox suggestion and operation.
private OnTextBoxTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
sender object The source TextBox object.
e System.Windows.Controls.TextChangedEventArgs The TextChanged event data.
Résultat void
        private void OnTextBoxTextChanged(object sender, TextChangedEventArgs e)
        {
            // Call the central updated text method as a user-initiated action
            TextUpdated(_text.Text, true);
        }