Hello, does anyone knows, which event is raised, when user changes width of column for WPF DevExpress grid? I want to use it to store columns widths in database.
I've had to do the same, but for the silverlight grid. The best i could get was to handle the Grid.LayoutUpdated event, and enumerate the columns to get their widths. I couldn't even bind to the column width property in the silverlight grid because it wasn't a dependency property, the WPF grid is most likely exactly the same.
EDIT: what you could do though is check through the source code of the WPF grid, and add a ColumnResized event yourself. It's not ideal, because you would have to re-integrate the code everytime you installed a DevExpress update, and then rebuild the grid. You would also need to be careful how you do it, for instance you need to work out the best way to determine when a column resize has finished, so that you don't continually fire the event. Or you could look round for a more fully featured (more mature) grid?