0

In WPF textbox, is it possible to get Editing Started and Editing Completed event?

Ponraja
  • 570
  • 2
  • 6
  • 17

2 Answers2

1

the best you are going to have is LostFocus and GotFocus events. You can also get as granular as mouse, keyboard, and/stylus lost/got focus events. Also, you can check out the PreviewTextInput event

here are the MSDN docs:

LostFocus
GoFocus

Muad'Dib
  • 28,542
  • 5
  • 55
  • 68
1

Please have a look at this link and see if it helps.

TextBox.TextChanged & ICommandSource

The basics here are through binding yes. 1 way is to bind to an objects property which implements INotifyPropertyChanged. You are actually responding to the property changing rather than the text box.

Community
  • 1
  • 1
Matt
  • 1,441
  • 1
  • 15
  • 29