欢迎来到.net学习网

欢迎联系站长一起更新本网站!QQ:879621940

您当前所在位置:首页 » ASP.Net » 正文

热门阅读

SmartGrid列集合类SmartGridColumnCollection类说明

创建时间:2012年03月02日 20:52  阅读次数:(4689)
分享到:

SmartGridColumnCollection类为SmartGridColumn继承的列对象的集合,这些对象表示SmartGrid控件中的列。无法继承此类。

构造函数
public SmartGridColumnCollection(
SmartGrid owner,
ArrayList columns
);

参数说明
owner:对应于此集合的 SmartGrid 控件。
columns: System.Collections.ArrayList 对象,该对象存储列的集合。

下面了解一下该类的方法与属性:

公共属性
Count 获取 SmartGridColumnCollection 中的列数。
IsReadOnly 获取一个值,该值指示 SmartGridColumnCollection 中的列是否可被修改。
IsSynchronized
Item 从指定索引位置的 SmartGridColumnCollection 集合获取由 SmartGridColumn 继承的列对象。
SyncRoot

公共方法

Add Overloaded. 将指定的由SmartGridColumn 继承的列对象追加到SmartGridColumnCollection 的结尾
AddAt 将由 SmartGridColumn 继承的列对象插入到指定索引位置的 SmartGridColumnCollection 中。
Clear 从 SmartGridColumnCollection 移除所有由 SmartGridColumn 继承的列对象。
CopyTo 从 System.Array 对象中的指定索引开始,将 SmartGridColumnCollection 中的项复制到指定的 System.Array 对象。
Equals Determines whether the specified Object is equal to the current Object.
FromColumnName 根据指定的列名在SmartGridColumnCollection集合中检索SmartGridColumn列,如果该列不存在,则返回null值。
GetEnumerator 返回 System.Collections.IEnumerator 接口,该接口包含 SmartGridColumnCollection 中所有由 SmartGridColumn 继承的列对象。
GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType Gets the Type of the current instance.
IndexOf 返回来自 SmartGridColumnCollection 中指定的、由 SmartGridColumn 继承的列对象的索引。
Remove 从 SmartGridColumnCollection 移除指定的、由 SmartGridColumn 继承的列对象。
RemoveAt 从指定索引位置的 SmartGridColumnCollection 移除由 SmartGridColumn 继承的列对象。
ToString Returns a String that represents the current Object.
p
来源:
说明:所有来源为 .net学习网的文章均为原创,如有转载,请在转载处标注本页地址,谢谢!
【编辑:Wyf

打赏

取消

感谢您的支持,我会做的更好!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

最新评论

共有评论0条
  • 暂无任何评论,请留下您对本文章的看法,共同参入讨论!
发表评论:
留言人:
内  容:
请输入问题 42+78=? 的结果(结果是:120)
结  果: