Jump to content
Xtreme .Net Talk

DataGrid ? How to adjust the DataGrid.PreferredRowHeight ?


Recommended Posts

Guest Alexander Pavlo
Posted

Hi !

 

I've got a problem...

 

I'm populating the DataGrid with the text which sometimes has a HTML script in it.... I'm stripping out the HTML tags and getting the multilined text which is going further down to the DataGrid.

 

Now,

I want to adjust the .PreferredRowHeight for the each row so every row would be as high as the text with the most numer of lines if this row.

 

Thanks if who knows !!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...