<?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 : [SOLVED]MarkupImage should implement MarkupInline?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : [SOLVED]MarkupImage should implement MarkupInline?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 05:50:22 +0000</pubDate>
  <lastBuildDate>Thu, 04 Mar 2010 06:20:38 +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=16336</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[[SOLVED]MarkupImage should implement MarkupInline? : Hi,  You need it for Image -...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16336&amp;PID=57361&amp;title=solvedmarkupimage-should-implement-markupinline#57361</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16336<br /><strong>Posted:</strong> 04 March 2010 at 6:20am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You need it for Image - MarkupImage is FrameworkElement derived class.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Mar 2010 06:20:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16336&amp;PID=57361&amp;title=solvedmarkupimage-should-implement-markupinline#57361</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]MarkupImage should implement MarkupInline? : Thanks a lot Oleg, that worked...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16336&amp;PID=57352&amp;title=solvedmarkupimage-should-implement-markupinline#57352</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16336<br /><strong>Posted:</strong> 04 March 2010 at 12:27am<br /><br />Thanks a lot Oleg, that worked great.<br><br>The parser seems to do this automatically for MarkupRun objects - can it do it automatically for MarkupImage objects so we don't have to go through the extra container steps?<br>]]>
   </description>
   <pubDate>Thu, 04 Mar 2010 00:27:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16336&amp;PID=57352&amp;title=solvedmarkupimage-should-implement-markupinline#57352</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]MarkupImage should implement MarkupInline? : Hi,  When Markup Parser see...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16336&amp;PID=57309&amp;title=solvedmarkupimage-should-implement-markupinline#57309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16336<br /><strong>Posted:</strong> 03 March 2010 at 1:43am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>When Markup Parser see Inline that is not Inline type object it automatically add parent InlineUIContainer for it.</DIV><DIV>&nbsp;</DIV><DIV>So your code should look like</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Dim lo_Container As XtremeMarkup.MarkupInlineUIContainer<BR>Set lo_Container = mc.CreateObject("InlineUIContainer")</DIV><DIV><BR>lo_Container.Child = lo_Image</DIV><DIV>.Inlines.Add lo_Container<BR></DIV>]]>
   </description>
   <pubDate>Wed, 03 Mar 2010 01:43:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16336&amp;PID=57309&amp;title=solvedmarkupimage-should-implement-markupinline#57309</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]MarkupImage should implement MarkupInline? :  Using Markup strings, you can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16336&amp;PID=57300&amp;title=solvedmarkupimage-should-implement-markupinline#57300</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16336<br /><strong>Posted:</strong> 02 March 2010 at 4:37pm<br /><br />Using Markup strings, you can do something like this:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&lt;TextBlock &gt;&lt;Hyperlink&gt;&lt;Image Source='file://C:/winnt/Coffee Bean.bmp'/&gt;Link with Image&lt;/Hyperlink&gt;&lt;/TextBlock&gt;<br></pre></td></tr></table><br><br>to include an image in a hyperlink.<br><br>However, with the MarkupLabel &amp; MarkupObjects, this fails (Type mismatch):<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp; Dim mc As XtremeMarkup.MarkupContext<br>&nbsp;&nbsp; Dim lo_Hyperlink As XtremeMarkup.MarkupHyperlink<br>&nbsp;&nbsp; Dim lo_HyperlinkText As XtremeMarkup.MarkupRun<br>&nbsp;&nbsp; Dim lo_Image As XtremeMarkup.MarkupImage<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Set mc = UserControl.MarkupLabel1.MarkupContext<br>&nbsp;&nbsp; mc.SetHandler Me<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; Set lo_HyperlinkText = mc.CreateObject("Run")<br>&nbsp;&nbsp; lo_HyperlinkText.Text = "Add a new contact"<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Set lo_Image = mc.CreateObject("Image")<br>&nbsp;&nbsp; lo_Image.Source = "file://C:/winnt/Coffee Bean.bmp"<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Set lo_Hyperlink = mc.CreateObject("Hyperlink")<br>&nbsp;&nbsp; With lo_Hyperlink<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddHandler .ClickEvent, "AddContact"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Inlines.Add lo_Image&nbsp;&nbsp; ' TYPE MISMATCH HERE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Inlines.Add lo_HyperlinkText<br>&nbsp;&nbsp; End With<br></pre></td></tr></table><br><br>Should the MarkupImage object implement the MarkupInline interface?<br>]]>
   </description>
   <pubDate>Tue, 02 Mar 2010 16:37:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16336&amp;PID=57300&amp;title=solvedmarkupimage-should-implement-markupinline#57300</guid>
  </item> 
 </channel>
</rss>