How to change font size in the and listview controls

O

okaminer

I'm building my first application
I put listview and treeview controls on the phone but the font is too
big
is there any way to make the font smaller?
 
F

Fabien Decret

Hi,

Try this, me it works fine :

myListView.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular);

Best regards.

Fabien Decret
 

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

Top