惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Cloudflare Blog
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
腾讯CDC
罗磊的独立博客
博客园 - 聂微东
博客园_首页
雷峰网
雷峰网
云风的 BLOG
云风的 BLOG
Jina AI
Jina AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
量子位
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
月光博客
月光博客
T
The Exploit Database - CXSecurity.com
Google DeepMind News
Google DeepMind News
H
Help Net Security
O
OpenAI News
Blog — PlanetScale
Blog — PlanetScale
S
Security Affairs
S
Security @ Cisco Blogs
Microsoft Security Blog
Microsoft Security Blog
T
The Blog of Author Tim Ferriss
AI
AI
MongoDB | Blog
MongoDB | Blog
G
Google Developers Blog
MyScale Blog
MyScale Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
Hugging Face - Blog
Hugging Face - Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Schneier on Security
Cloudbric
Cloudbric
H
Heimdal Security Blog
J
Java Code Geeks
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
I
Intezer
GbyAI
GbyAI

博客园 - 木人(我现在不是老大)

ERP系统的专业化发展趋势 讨厌的real和float数据 Svcutil使用点滴 windows server2003企业版64位安装sql server2008企业版64位 读书笔记 UltraGrid(16) 水晶报表使用push模式(2) 水晶报表使用push模式(1) SQL SERVER2000存储过程调试 读书笔记 UltraGrid(15) 读书笔记 UltraGrid(14) 读书笔记 UltraGrid(12) 读书笔记 UltraGrid(11) 读书笔记 UltraGrid(10) 读书笔记 UltraGrid(9) 读书笔记 UltraGrid(8) 读书笔记 UltraGrid(7) 读书笔记 UltraGrid(6) 读书笔记 UltraGrid(5) 读书笔记 UltraGrid(4)
读书笔记 UltraGrid(3)
木人(我现在不是老大) · 2012-02-08 · via 博客园 - 木人(我现在不是老大)

如何访问rows

ultraGrid.Rows:访问顶层的所有行。如果启用了分组,则返回分组的所有行;
也就是返回的既可能是UltraGridRow,也可能是UltraGridGroupByRow;
ultraGrid.DisplayLayout.Rows:这个作用同ultraGrid.Rows,为什么要这样设计呢?
UltraGridBand是没有Rows属性的,有点奇怪;
ultraGrid1.DisplayLayout.Bands[0].Layout.Rows
ultraGrid1.DisplayLayout.Bands[0].Layout.Rows
。。。
这些都是同ultraGrid.Rows,因为Layout同样返回关联的UltraGridLayout,同ultraGrid1.DisplayLayout;
那如何访问UltraGridRow的rows呢?
想当然,觉得应该是UltraGridRow.Rows!实际中没有发现这个属性。
查资料发现原来是通过ChildBands,原来在一个行中还可以由多个UltraGridChildBand的。
而UltraGridChildBand中有Rows属性;
UltraGridGroupByRow也具有Rows属性;


outlook分组方式:
ultraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.OutlookGroupBy

标题是否可见:
ultraGrid.DisplayLayout.CaptionVisible = DefaultableBoolean.False
这样也可以:ultraGrid.Text = string.Empty