Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
Calling PropertyChanged when the user typing in the Cell
posted

Hi,

I want to call the PropertyChanged when the user typing in the Cell.

Right now it is called only when i  tab out of the Cell.

Please advice me on this.

 

 

 

thanks

Ramesh Babu.

 

 

Parents
  • 69686
    posted

    Hello Ramesh,

    PropertyChanged is fired when the Cell exits EditMode. If you want this event to fire you can commit changes while typing. One option is to handle the KeyDown event, check if the XamDataGrid.ActiveCell != null and use a DataPresenterCommands.EndEditModeAndAcceptChanges and then start the edit mode right away. I am not sure if that is the best way to do this as I need more information about whay you are trying to achieve. Test this and let me know if it works in your scenario.

    Alex. 

Reply Children