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.
Unfortunately, activation email could not send to your email. Please try again.

Sizing Grid to match row heights

Thread ID:





31498 Jul 7,2005 08:23 PM Jul 7,2005 08:37 PM Windows Forms 1
Tags: GridControl
Cameron Rice
Asked On July 7, 2005 08:23 PM

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 7, 2005 08:37 PM

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.

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.