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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sizing Grid to match row heights

Thread ID:

Created:

Updated:

Platform:

Replies:

31498 Jul 8,2005 12:23 AM UTC Jul 8,2005 12:37 AM UTC WinForms 1
loading
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

CONFIRMATION

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.

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

;