Skip to main content
Home Forums Silverlight Programming Programming with JavaScript Wrapping of text in textblock of DatagridTemplateColumn using Silverlight2
3 replies. Latest Post by Jonathan Shen – MSFT on June 5, 2009.
(0)
tanusree
Member
29 points
77 Posts
06-01-2009 1:27 AM |
I want to wrap text in Textblock created using DatagridTemplateColumn of Datagrid.
I need srollbar in my datagrid so I have used VerticalSrollbarVisibility = True,TextWarpping = True & it's working fine. In some of my row text fit within the the width of the row & some r not. In which row text r not fitting within the width of the row, text wraps in this row & the height of the row is increased.. But when I come at the end of the srollbar every row is taking the height of the highest row height.
Can help me in solving this problem.
Thanks in advance,
Tanusree
MarkMonster
Contributor
5220 points
1,046 Posts
06-01-2009 5:59 AM |
Do I understand your problem correctly that you don't want each row to have an equal height?
06-03-2009 2:10 AM |
Yes, I don't want each row to be an equal height.
In my case When I click at the end of the srollbar & come on top every row is taking same height.
How to solve this.
Jonathan...
All-Star
24939 points
2,425 Posts
06-05-2009 7:11 AM |
Hi Tanusree,
Seems there is no convenient way for your situation. We need to detect its LoadingRow event and change its row height on the event.
Best regards,
Jonathan