GridItem
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Implements one row in a PropertyGrid.
- C#
- VB.NET
public abstract class GridItem : IUserData
Public MustInherit Class GridItem
Inherits IUserData
Properties
CellRenderer
String: Name of the JavaScript call used to render the cell.
Expandable
Boolean: Return whether the specified property is expandable to show nested properties.
Value: true if the specified property can be expanded; otherwise, false. The default is false.
Expanded
Boolean: Returns or sets whether the GridItem is in an expanded state.
Value: false in all cases.
Throws:
- NotSupportedException The Expanded property was set to true, but a GridItem is not expandable.
GridItems
GridItemCollection: Returns the collection of GridItem objects, if any, associated as a child of this GridItem.
Value: A GridItemCollection.
GridItemType
GridItemType: Returns the type of this GridItem.
Value: One of the GridItemType values.
HasUserData
Boolean: Checks if the UserData dynamic object was created and has any value.
Label
String: Returns the text of this GridItem.
Value: A String representing the text associated with this GridItem.
Parent
GridItem: Returns the parent GridItem of this GridItem, if any.
Value: A GridItem representing the parent of the GridItem.
PropertyDescriptor
PropertyDescriptor: Returns the PropertyDescriptor that is associated with this GridItem.
Value: The PropertyDescriptor associated with this GridItem.
Tag
Object: Returns or sets user-defined data about the GridItem. (Default: null)
Value: An Object that contains data about the GridItem.
UserData
Object: Returns a dynamic object that can be used to store custom data in relation to this control.
Value
Object: Returns or sets the current value of this GridItem.
Value: The current value of this GridItem. This can be null.
Methods
Select()
Selects this GridItem in the PropertyGrid.
Returns: Boolean. true if the selection is successful; otherwise, false.
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |