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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sizing Grid to match row heights

Thread ID:





31498 Jul 8,2005 12:23 AM UTC Jul 8,2005 12:37 AM UTC WinForms 1
Tags: GridControl
Cameron Rice
Asked On July 8, 2005 12:23 AM UTC

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; }

Administrator [Syncfusion]
Replied On July 8, 2005 12:37 AM UTC

Found it... the bug was elsewhere. thanks


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon