DataGridView.HitTestInfo 相当于 Infragistics.Win.UltraWinGrid.UltraGrid?
有谁知道 Infragistics UltraGrid 控件是否提供与 DataGridView.HitTestInfo 类似的功能?
Does anyone know if the Infragistics UltraGrid control provides functionality similar to that of DataGridView.HitTestInfo?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
检查这个。
它们不转换坐标,但使用特殊的 Infragistics 网格事件 (MouseEnterElement) 获取鼠标当前悬停在其上的元素。
也许有帮助。
Check this out.
They don't convert the coordinates, but they use a special Infragistics grid event (MouseEnterElement) to get the element, which the mouse currently hovers over.
Maybe it helps.
有一个
.MousePosition
属性,它返回System.Drawing.Point
和“获取屏幕坐标中鼠标光标的位置”,但我使用的是旧版本的 UltraWinGrid (2003)。他们有免费试用版下载,因此您可以查看他们是否已将其添加到他们最新最好的:o)
There's a
.MousePosition
property which returnsSystem.Drawing.Point
and "Gets the position of the mouse cursor in screen coordinates" but I'm using an older version of their UltraWinGrid (2003).They have a free trial download, so you could see if they've added it to their latest and greatest :o)
如果您有 UltraGrid 的 MouseEventHandler,那么您可以执行以下操作:
然后,您可以使用 element.GetContext() 根据其预期类型强制转换元素:
If you had a MouseEventHandler for the UltraGrid then you can do the following:
You can then cast the element depending on its expected type using element.GetContext():