[DataGrid] How can I detect if any column width is changed? #4106
Unanswered
AndrewKeepCoding
asked this question in
Questions & Help
Replies: 2 comments 1 reply
-
I don't see an easy way to detect this since there aren't DependencyProperties involved. The Header does use pointer events, so not sure if you could also hook into those? FYI @anawishnoff @RBrid |
Beta Was this translation helpful? Give feedback.
1 reply
-
I would like to do this as well. Right now we are subscribing to the data grid unloaded event, and looping through the columns and recording the widths then. But in some cases that is too late for us. It would be really nice if there was an event similar to the Reordered. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to save some DataGrid's parameters like column width, order, etc.
There are events for columns order changes but not for column width.
Is there any way to know when columns width are changed?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions