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

推荐订阅源

有赞技术团队
有赞技术团队
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
P
Palo Alto Networks Blog
C
Cisco Blogs
The Hacker News
The Hacker News
T
Threatpost
S
Schneier on Security
K
Kaspersky official blog
Spread Privacy
Spread Privacy
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
NISL@THU
NISL@THU
量子位
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Google DeepMind News
Google DeepMind News
Security Latest
Security Latest
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
博客园 - 叶小钗
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
News and Events Feed by Topic
爱范儿
爱范儿
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
Project Zero
Project Zero
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Cisco Talos Blog
Cisco Talos Blog
GbyAI
GbyAI
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
T
Tenable Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
V
Vulnerabilities – Threatpost
Forbes - Security
Forbes - Security
博客园 - 三生石上(FineUI控件)
C
Cyber Attacks, Cyber Crime and Cyber Security
N
News and Events Feed by Topic
V
V2EX
Webroot Blog
Webroot Blog
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Blog — PlanetScale
Blog — PlanetScale
M
MIT News - Artificial intelligence
Scott Helme
Scott Helme
Simon Willison's Weblog
Simon Willison's Weblog
L
LangChain Blog
W
WeLiveSecurity
Cloudbric
Cloudbric

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

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