We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

A question abt Column Styles

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 ? -S

Loader.
Live Chat Icon For mobile
Up arrow icon