System.Windows.Controls.AutoCompleteBox.OnTextBoxTextChanged C# (CSharp) Method

OnTextBoxTextChanged() private method

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.
return void
        private void OnTextBoxTextChanged(object sender, TextChangedEventArgs e)
        {
            // Call the central updated text method as a user-initiated action
            TextUpdated(_text.Text, true);
        }