Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
In wpf in I binded some long paragraph text to a text block while executing the app the text block is not showing the entire text some text was missing how to overcome this.
Posted
Comments
Sergey Alexandrovich Kryukov 15-Oct-14 3:53am    
Not clear. Short but comprehensive complete code sample could help a lot.
—SA
SureshMarepalli 15-Oct-14 4:03am    
<stackpanel orientation="Vertical">
<border borderbrush="Black">
<Image x:Name="imgDetail" Height="200" Width="350" Stretch="Fill"></Image>

<textblock x:name="txtHeader" height="Auto" foreground="Black" textwrapping="Wrap" margin="0,0,0,0" fontweight="ExtraBold" horizontalalignment="Center" linestackingstrategy="BlockLineHeight" lineheight="30">
<textblock x:name="txtDetail" foreground="Black" textwrapping="Wrap" characterspacing="1" margin="0,10,0,0" linestackingstrategy="BlockLineHeight" lineheight="30">


i am using the above code and the textblock named txtdetail holds the string of length 4575 may be more..
my problem is after executing the app i am not able to see the all the text some text is missing at the end. I dont know why its not showing the text.
please help me,
thank you.
NaibedyaKar 15-Oct-14 8:16am    
The above code is showing image.Are you sure you provided the correct code snippet here.
SureshMarepalli 15-Oct-14 8:18am    
i copied the total code but it was showing only the image only....
NaibedyaKar 15-Oct-14 8:56am    
Can you please paste it on a notepad first and then copy from notepad to here. If that would help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900