I have a grid for which I want to hide (or disable) the Delete/Edit columns when the app is in a certain state. I have tried setting the Visible property on the columns in several event handlers in the code-behind, but once I have set the column visibility to false, it stays false, even when the code to reset it to visible is executed.
Can you give me an example of how to do this?
Can you give me an example of how to do this?