设置数据源后 Infragistics UltraGrid (9.2) 计数 Band
在继承的 UltraGrid 中,我想知道在 base.DataSource
上设置新值后网格包含多少个 Band。我如何找到该计数?
谢谢
-a-
/*****添加了 screendump*****/
(代码不是我的财产,所以我已经扰乱了一些可能的商业秘密)
In an inherited UltraGrid I would like know how many Bands the grid contains after I set a new value on base.DataSource
. How do I find that count?
Thanks
-a-
/*****Added screendump*****/
(code is not my property so I've scrambled away some possible trade secrets)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将新的 dataSource 对象设置为 UltraGrid 的 DataSource 属性后,您可以验证计数,如下所示:
ultraGrid1.DisplayLayout.Bands.Count
希望这就是您正在寻找的。
After setting the new dataSource object to the DataSource property of the UltraGrid you could verify the count like:
ultraGrid1.DisplayLayout.Bands.Count
Hope this is what you are looking for.
尝试使用基类UltraControlBase的PropertyChanged事件:
Try to use PropertyChanged event of the base class UltraControlBase: