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
205
TextBlock in a XamDataGrid allows paste even though IsEnabled is False
posted

I have TextBlocks in a XamDataGrid.

In edit mode, I'm trying to control each cell's IsEnabled property based on some condition so that users cannot edit the cell.

However, even though it's IsEnabled property is False, I can paste value into the cell in the grid.

I could have workaround using CellUpdating event. (setting eventArg.Cancel = True)

But, it's a lot of work fixing all the screens we have.

I think there should be a way for cell level editing handling.

Do you have any idea?