简体   繁体   English

调用DataGridView.SelectAll时触发的事件

[英]Events Fired When DataGridView.SelectAll Called

What events are fired when .SelectAll() is called on a DataGridView ? DataGridView上调用.SelectAll()时会触发什么事件? I want to intercept some cell selection without having to inherit another DataGridView and override the SelectAll() method. 我想拦截某些单元格选择,而不必继承另一个DataGridView并重写SelectAll()方法。

It turns out that SelectionChanged is fired after much troubleshooting. 事实证明,经过大量故障排除后会触发SelectionChanged。 It would help if the MSDN documentation told you that when it details the SelectAll method. 如果MSDN文档在详细介绍SelectAll方法时告诉您,则将有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM