<?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 : How to vertical center a text</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : MarkupLabel Control : How to vertical center a text]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 16:39:58 +0000</pubDate>
  <lastBuildDate>Fri, 04 Jun 2010 11:35:04 +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=16787</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[How to vertical center a text : I tried that code in the MarkupPad...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16787&amp;PID=58790&amp;title=how-to-vertical-center-a-text#58790</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16787<br /><strong>Posted:</strong> 04 June 2010 at 11:35am<br /><br />I tried that code in the MarkupPad and the text is vertically centered - unless the TextBlock is the child of another tag (for example, a StackPanel), and then I had to set the VerticalAlignment attribute to Center for the parent as well.<br><br>If you are still unable to get the TextBlock vertically centered, can you post your complete XAML so I can see if I can figure out why it's not centering?<br><br>]]>
   </description>
   <pubDate>Fri, 04 Jun 2010 11:35:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16787&amp;PID=58790&amp;title=how-to-vertical-center-a-text#58790</guid>
  </item> 
  <item>
   <title><![CDATA[How to vertical center a text : Hi,   Due to the bug with the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16787&amp;PID=58788&amp;title=how-to-vertical-center-a-text#58788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 16787<br /><strong>Posted:</strong> 04 June 2010 at 5:52am<br /><br />&nbsp;&nbsp;&nbsp; Hi,<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Due to the bug with the disabling of a checkbox, I'm trying to simulate it with an image and a text at the side. I'm trying to define a text vertically centered with this code without success:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&lt;TextBlock Height="26" VerticalAlignment='Center'&gt;<BR></DIV><DIV>&nbsp;&nbsp; Is there any way I can perform this drawing?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Regards,</DIV><DIV>&nbsp;</DIV><DIV>Jose</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 04 Jun 2010 05:52:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16787&amp;PID=58788&amp;title=how-to-vertical-center-a-text#58788</guid>
  </item> 
 </channel>
</rss>