Textwidth

  • Thread starter Thread starter Sylvain Barde
  • Start date Start date
S

Sylvain Barde

What is the similar function in .NET

I don't want e.Graphics.MeasureString

--
Sylvain Barde

MCP Microsoft Certified Professional
MCT Microsoft Certified Trainer
_________________________________________



MCSD Microsoft Certified Solution Developer
 
For exemple, want to adjust the column width of a listiew with the most
larger string in this coloumn.

Thank you

--
Sylvain Barde

MCP Microsoft Certified Professional
MCT Microsoft Certified Trainer
_________________________________________



MCSD Microsoft Certified Solution Developer
 
Sorry for the late reply, I'm just going through old postings

Create a label object with the same text and font as the item you want to
display and then use its PreferredWidth property
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top