AD
Administrator
Syncfusion Team
November 15, 2004 04:35 PM UTC
Try using an indexer on the RowHeights.
//C#
int h = this.grid.Mode.RowHeights[someRowIndex];
''VB
dim h as integer = Me.grid.Mode.RowHeights(someRowIndex);
The minus 1 returned by getsize indicates default size being used. The grid does not really allocate the size value until you explicitly set it. Other wise, things just have teh default value. The indexer knows to return this default value but teh getsize method just returns the -1 indicating it really ahsn''t been explicitly set.
GR
Gordon Rhea
November 15, 2004 07:04 PM UTC
That got it. Thanks Clay
Gordon