Hi,
I have a datagrid which has template columns in it.
When i click a cell for editing, the grid's lostfocus is fired.
What i want to do is when the user edit a value in a cell and click outside the datagrid ie: on other control or the window its containing, i need to do something.
I tried to check !Datagrid.IsFocused and tried to do something when the grid doesn't have any focus. But that check always fails when i click outside the datagrid.
Any idea how to solve this?
Thanks
S
I have a datagrid which has template columns in it.
When i click a cell for editing, the grid's lostfocus is fired.
What i want to do is when the user edit a value in a cell and click outside the datagrid ie: on other control or the window its containing, i need to do something.
I tried to check !Datagrid.IsFocused and tried to do something when the grid doesn't have any focus. But that check always fails when i click outside the datagrid.
Any idea how to solve this?
Thanks
S