BCGControlBar Library for .NET
InitialNumberOfColumns Property




Specifies the initial number of columns.
Syntax
'Declaration
 
Public Property InitialNumberOfColumns As Integer
'Usage
 
Dim instance As GridControl
Dim value As Integer
 
instance.InitialNumberOfColumns = value
 
value = instance.InitialNumberOfColumns
public int InitialNumberOfColumns {get; set;}
public: __property int get_InitialNumberOfColumns();
public: __property void set_InitialNumberOfColumns( 
   int value
);
public:
property int InitialNumberOfColumns {
   int get();
   void set (    int value);
}
Remarks
This property should be set only to grids, which are intended to work in Excel mode. 
When you call CreateData and InitialNumberOfColumns is greater than 0, the grid automatically creates and names (in order A, B, C .... ) the specified number of columns.
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

GridControl Class
GridControl Members

Send Feedback