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

How to see if a text is wrapped?

Thread ID:

Created:

Updated:

Platform:

Replies:

38010 Dec 4,2005 09:18 PM UTC Dec 5,2005 12:38 AM UTC WinForms 1
loading
Tags: GridControl
Rene Balvert
Asked On December 4, 2005 09:18 PM UTC

Is there is possibility in the unbound grid to see if cell/row contains wrapped text? What is the way to resize the rows at runtime (from code)? Tx, Rene

Administrator [Syncfusion]
Replied On December 5, 2005 12:38 AM UTC

There is no property to check if a cell has wrapped text. You would have to use Graphics.MeasureString and compare the width to the column width to decide if the text needed to be wrapped. The autosize, you can use these methods. grid.Model.ColWidths.ResizeToFit grid.Model.RowHeights.ResizeToFit

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

;