Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7799111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:12:08+00:00 2026-06-02T00:12:08+00:00

I am using ObjectListView instead of the standard ListView is because I wanted to

  • 0

I am using ObjectListView instead of the standard ListView is because I wanted to word-wrap the columns.

I read in several places that the only thing I need to to in order to enable word-wrapping is the set column.wordWrap to true.

I did just that, but it doesn’t work.

What am I missing here?

Edit:
I realise now that I need to make my column owner drawn.
I found this page which sort of tells me what to do, but I’m not sure where to place it in my code. I’m also not quite sure whether I need to add certain attributes inside the delegate to allow word-wrapping (by the looks opf things it’s enabled by default). The thing is, I tried what I found in this page, copied it word for word, and my list looks exactly the same…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:12:09+00:00Added an answer on June 2, 2026 at 12:12 am

    If you mean by “word wrapping”, you want different rows to have different heights, the FAQ answer is correct — it simply can’t be done.

    However, if you make each row so that it can display two or more lines of text, then, yes, ObjectListView can word wrap.

    It needs three conditions:

    1. Set WordWrap to true on the column to wrap. You’ve already done that.
    2. Make sure the ObjectListView is owner drawn (set OwnerDraw to true — this can be done in the Form Designer). The base ListView can’t word wrap, so we have to draw the cells ourself.
    3. Make sure there is room to see the wrapped lines by setting the RowHeight to 32 (or some other value)

    This is the data tab from the demo. The first column has WordWrap set to true.
    Word wrap in action

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ObjectListView and I'm trying to wrap the text in a column. I
Using C#, I want to format a decimal to only display two decimal places
I am using ObjectListView to display a list of items. However columns are not
Using Nunit, I want to be able to write a test fixture that will
Using top it's easy to identify processes that are hogging memory and cpu, but
I'm using an TreeListView (a sub type of ObjectListView ) in my current project.
I'm using .NET 2.0 with standard controls. I want to display a simple list
I am using ObjectListView in a C# winforms project and want to show a
I am currently using ObjectListView, and right now, i'm trying to get it so
Using ASP.NET MVC there are situations (such as form submission) that may require a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.