Sizing Grid to match row heights

Hi, I''m trying to vertically size a grid to match the height of it''s rows. Can someone please tell me why this isn''t working? Thanks very much, Cameron private void SetupGrid() { this.grTP.RowCount = 5; int GridHeight =0; for (int i=0;i<=grTP.RowCount+1;i++) { GridHeight+=grTP.RowHeights[i]; } grTP.Height = GridHeight; }

1 Reply

AD Administrator Syncfusion Team July 8, 2005 12:37 AM UTC

Found it... the bug was elsewhere. thanks

Loader.
Up arrow icon