I need to create a custom column style, a style which will prevent the user from using the RIGHT ARROW key from moving out of the cell.
I know, I can derive from the Datagrid and override the ProcessKeyPreview function, but the objective here is to give the users a "style" so they can just go ahead and add it via the Styles Editor.
The problem is, i cant hook any event handler to the DataGridTextBoxColumn, which will tell me when the arrow key was pressed. I think, I need a different approach. Any Clues, how I should proceed ?