GridItem 成员
实现 PropertyGrid 中的一行。
下表列出了由 GridItem 类型公开的成员。
受保护的构造函数
名称 | 说明 | |
---|---|---|
GridItem | 初始化 GridItem 类的新实例。 |
页首
公共属性
名称 | 说明 | |
---|---|---|
Expandable | 在派生类中重写时,可获取指示指定属性是否可扩展为显示嵌套属性的值。 | |
Expanded | 当在派生类中重写时,获取或设置一个值,该值指示 GridItem 是否处于已扩展状态。 | |
GridItems | 当在派生类中重写时,获取 GridItem 对象(如果有的话)的集合,这些对象关联为此 GridItem 的子级。 | |
GridItemType | 当在派生类中重写时,获取此 GridItem 的类型。 | |
Label | 当在派生类中重写时,获取此 GridItem 的文本。 | |
Parent | 当在派生类中重写时,获取此 GridItem 的父 GridItem(如果有的话)。 | |
PropertyDescriptor | 当在派生类中重写时,获取与此 GridItem 关联的 PropertyDescriptor。 | |
Tag | 获取或设置有关 GridItem 的用户定义数据。 | |
Value | 当在派生类中重写时,获取此 GridItem 的当前值。 |
页首
公共方法
(请参见 受保护的方法 )
名称 | 说明 | |
---|---|---|
Equals | 已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。) | |
GetHashCode | 用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。) | |
GetType | 获取当前实例的 Type。 (从 Object 继承。) | |
ReferenceEquals | 确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。) | |
Select | 当在派生类中重写时,在 PropertyGrid 中选择此 GridItem。 | |
ToString | 返回表示当前 Object 的 String。 (从 Object 继承。) |
页首
受保护的方法
名称 | 说明 | |
---|---|---|
Finalize | 允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (从 Object 继承。) |
页首