R
R
rad952019-08-26 21:58:13
WPF
rad95, 2019-08-26 21:58:13

How to subscribe to TextBox_TextChanged events?

I created a textbox in mainwindow.xaml.cs. How can I subscribe to the TextBox_TextChanged event now? I can't create a xaml file for some reason.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Johnny Gat, 2019-08-27
@rad95

TextBox tb = new TextBox();
tb.TextChanged += твоя функция-обработчик;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question