TextBoxColumn - MultiLine, Wrap Text, Vertical Size

3 posts, 0 answers
  1. Doug
    Doug avatar
    50 posts
    Member since:
    Jul 2012

    Posted 24 Jul 2013 Link to this post

    Can you make a row autosize or otherwise set the height so that all of the the text in the cell in a TextBoxColumn is visible?  For some of the rows, the text string is short.  For others, it will take four lines to contain the text.

    Thank you,
    Gary
  2. Doug
    Doug avatar
    50 posts
    Member since:
    Jul 2012

    Posted 25 Jul 2013 Link to this post

    I withdraw that question.  I was too busy looking at column/cell properties and completely forgot about the AutoSizeRows property of the GridView itself.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 29 Jul 2013 Link to this post

    Hello Gary,

    Thank you for contacting Telerik Support.

    You have found the correct answer. RadGridView.AutoSizeRows property gets or sets a value indicating whether row height in a RataGridView will expand for multiline cell text. If you want the entire text to be visible in the cell it should be set to true.

    Should you have further questions, I would be glad to help.

    Regards,
    Desislava
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top