[SOLVED] DataGridView with ShowColumnVisibilityMenu = true

Answered
0
0

Hi, is there an event available which is triggered when clicking the Column show Menu (ShowColumnVisibilityMenu = True) in a DataGridView? e.g. You click on column Name to be added to the DataGridView, which event is triggered here. Rgrds, Wim

  • You must to post comments
Best Answer
0
0

Hi Wim,

yes, you can handle the ColumnStateChanged event and check for e.StateChanged == Visible.

Best regards
Frank

  • Wim Wetzels
    Thanks Frank, works perfect!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.