<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Why Markup Static doesn&#039;t word wrap?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Why Markup Static doesn&#039;t word wrap?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 12:55:23 +0000</pubDate>
  <lastBuildDate>Fri, 23 May 2008 15:42:20 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=10752</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Why Markup Static doesn&#039;t word wrap? : Hi, try _T(&amp;#034;&amp;lt;Grid.Co...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10752&amp;PID=35729&amp;title=why-markup-static-doesnt-word-wrap#35729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10752<br /><strong>Posted:</strong> 23 May 2008 at 3:42pm<br /><br /><P>Hi,</P><DIV>try</DIV><DIV>_T("&lt;Grid.ColumnDefinitions&gt;&lt;ColumnDefinition Width='Auto'/&gt;&lt;ColumnDefinition Width=<strong>'*'/</strong>&gt;&lt;/Grid.ColumnDefinitions&gt;")</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 15:42:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10752&amp;PID=35729&amp;title=why-markup-static-doesnt-word-wrap#35729</guid>
  </item> 
  <item>
   <title><![CDATA[Why Markup Static doesn&#039;t word wrap? : I tried a grid and it still doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10752&amp;PID=35719&amp;title=why-markup-static-doesnt-word-wrap#35719</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4186">JohnLutz</a><br /><strong>Subject:</strong> 10752<br /><strong>Posted:</strong> 23 May 2008 at 10:27am<br /><br />I tried a grid and it still doesn't wrap...<DIV>&nbsp;</DIV><DIV><FONT size=2><P>_T("&lt;Border BorderThickness='1' BorderBrush='#808080'&gt;")</P><P>_T("&lt;Grid&gt;")</P><P>_T("&lt;Grid.ColumnDefinitions&gt;&lt;ColumnDefinition Width='Auto'/&gt;&lt;ColumnDefinition Width='Auto'/&gt;&lt;/Grid.ColumnDefinitions&gt;")</P><P>_T("&lt;Grid.RowDefinitions&gt;&lt;RowDefinition/&gt;&lt;RowDefinition/&gt;&lt;/Grid.RowDefinitions&gt;")</P><P>_T("&lt;Border Padding='3' Grid.Column='0' Grid.Row='0' BorderThickness='1' Background='#e0e0e0' BorderBrush='#808080'&gt;&lt;TextBlock Text='caption:'/&gt;&lt;/Border&gt;")</P><P>_T("&lt;Border Padding='3' Grid.Column='0' Grid.Row='1' BorderThickness='1' Background='#e0e0e0' BorderBrush='#808080'&gt;&lt;TextBlock Text='note:'/&gt;&lt;/Border&gt;")</P><P>_T("&lt;Border Padding='3' Grid.Column='1' Grid.Row='0' BorderThickness='1' Background='White' BorderBrush='#808080'&gt;&lt;TextBlock Text='%s' FontWeight='Bold' TextWrapping='wrap'/&gt;&lt;/Border&gt;")</P><P>_T("&lt;Border Padding='3' Grid.Column='1' Grid.Row='1' BorderThickness='1' Background='White' BorderBrush='#808080'&gt;&lt;TextBlock Text='%s' TextWrapping='wrap'/&gt;&lt;/Border&gt;")</P><P>_T("&lt;/Grid&gt;")</P><P>_T("&lt;/Border&gt;"),</P></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 10:27:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10752&amp;PID=35719&amp;title=why-markup-static-doesnt-word-wrap#35719</guid>
  </item> 
  <item>
   <title><![CDATA[Why Markup Static doesn&#039;t word wrap? : HI,  because this text located...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10752&amp;PID=35668&amp;title=why-markup-static-doesnt-word-wrap#35668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10752<br /><strong>Posted:</strong> 23 May 2008 at 1:28am<br /><br />HI,<DIV>&nbsp;</DIV><DIV>because this text located in Horizontal StackPanel. Horizontal StackPanel have INT_MAX width.</DIV><DIV>you have to replace it to Grid.</DIV>]]>
   </description>
   <pubDate>Fri, 23 May 2008 01:28:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10752&amp;PID=35668&amp;title=why-markup-static-doesnt-word-wrap#35668</guid>
  </item> 
  <item>
   <title><![CDATA[Why Markup Static doesn&#039;t word wrap? : Why doesn&amp;#039;t the text wrap...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10752&amp;PID=35657&amp;title=why-markup-static-doesnt-word-wrap#35657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4186">JohnLutz</a><br /><strong>Subject:</strong> 10752<br /><strong>Posted:</strong> 22 May 2008 at 6:16pm<br /><br />Why doesn't the text wrap in my static Markup?&nbsp; Here's the XAML...<DIV>&nbsp;</DIV><DIV><P><FONT face="Courier New, Courier, mono" size=2>CString stackPanel = _T("&lt;StackPanel Orientation='Horizontal'&gt;");</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>CString image = _T("&lt;Image Source='res://info.bmp' VerticalAlignment='Center'/&gt;");</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>CString margin = _T("&lt;StackPanel Margin='5, 0, 0, 0'&gt;");</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>CString caption;</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>caption.Format(_T("&lt;TextBlock TextAlignment='Left' FontWeight='Bold' TextWrapping='Wrap'&gt;%s&lt;/TextBlock&gt;"), captionStr);</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>CString note;</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>note.Format(_T("&lt;TextBlock TextAlignment='Left' TextWrapping='Wrap'&gt;%s&lt;/TextBlock&gt;"), noteStr);</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>CString ending = _T("&lt;/StackPanel&gt;&lt;/StackPanel&gt;");</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>CString text = stackPanel;</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>text += image;</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>text += margin;</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>text += caption;</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>text += note;</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>text += ending;</FONT></P><P><FONT size=2>SetMarkupText(text);</FONT></P></DIV>]]>
   </description>
   <pubDate>Thu, 22 May 2008 18:16:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10752&amp;PID=35657&amp;title=why-markup-static-doesnt-word-wrap#35657</guid>
  </item> 
 </channel>
</rss>