BCGControlBar Library for .NET
DataType Property (GridDataItem)




Specifies type of data stored in ItemData.
Syntax
'Declaration
 
Public Property DataType As GridDataType
'Usage
 
Dim instance As GridDataItem
Dim value As GridDataType
 
instance.DataType = value
 
value = instance.DataType
public GridDataType DataType {get; set;}
public: __property GridDataType get_DataType();
public: __property void set_DataType( 
   GridDataType value
);
public:
property GridDataType DataType {
   GridDataType get();
   void set (    GridDataType value);
}
Remarks
Set GridDataType.Custom for custom item data / cells. Along with that you should handle the GridControl.CreateCustomCell event and instantiate a custom Cell-derived object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridDataItem Class
GridDataItem Members

Send Feedback