ppsGrid Class Library
AddRows Method (count)
NamespacesppsGridGridAddRows(Int32)
ppsGrid (c] 2004-2007 by Torsten Oberprieler
Fügt der Rows-Auflistung eine oder mehrere GridRow-Objekte am Ende an.
Declaration Syntax
C#Visual BasicVisual C++
public void AddRows(
	int count
)
Public Sub AddRows ( _
	count As Integer _
)
public:
void AddRows (
	int count
)
Parameters
count (Int32)
Anzahl der Zeilenobjekte, die der Auflistung angefügt werden sollen
Remarks
Weitere Informationen finden Sie unter AddRows(Int32, Int32, Boolean).
Examples
CopyC#
grid.AddRows(10);                             // 10 Zeilen
grid.AddCols(10);                             // ..mit 10 Spalten
foreach(GridRow r in grid.Rows)               // alle Zeilen..
  r.BackColorCell = Color.Yellow;             // ..Hintergrund gelb

grid.AddRows(2);                                                            // nochmal 2 Zeilen anhängen
for(int r=10; r < 2; r++)                     // schleife für Zeile 10+11
  grid.Rows[r].BackColorCell = Color.Red;     // ..Hintergrund rot
See Also

Assembly: ppsGrid (Module: ppsGrid) Version: 1.3.4.0