We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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

Live Chat Icon For mobile
Up arrow icon