We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Wrap text in grid cells

Thread ID:





107863 Mar 20,2013 10:54 PM UTC Mar 21,2013 06:18 AM UTC WPF 1
Tags: Diagram
Gary Pansino
Asked On March 20, 2013 10:54 PM UTC

How do you implement the equivalent of TextWrapping="Wrap" and/or set the row height to expand to the content?

Prakash Selvaraj [Syncfusion]
Replied On March 21, 2013 06:18 AM UTC

Hi Gary,


Thanks for choosing syncfusion products.


We have analysed your query. You can achieve your requirements by editing GridCell Style and setting Wrap for TextWrapping in TextBlock. For adjusting the row height you can set your desire height value for RowHeight property in SfDataGrid. We have created a simple sample to achieve you requirements. Kindly refer the below sample.


Sample: TextWrapping.zip


Please let us know if you need further assistance.



Prakash S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon