<?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 : CXTPControlMarkupLabel capabilities in command bar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : XAML Snippets : CXTPControlMarkupLabel capabilities in command bar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 24 Apr 2026 15:24:11 +0000</pubDate>
  <lastBuildDate>Wed, 04 Mar 2009 03:47:10 +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=13555</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[CXTPControlMarkupLabel capabilities in command bar : Hi,  I mean \Samples\ToolkitPro\MarkupSample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13555&amp;PID=46235&amp;title=cxtpcontrolmarkuplabel-capabilities-in-command-bar#46235</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13555<br /><strong>Posted:</strong> 04 March 2009 at 3:47am<br /><br />Hi, <DIV>I mean \Samples\ToolkitPro\MarkupSample&nbsp; sample and its MarkupStatic file.</DIV><DIV>&nbsp;</DIV><DIV>Maybe event better&nbsp; to use our CXTPButton with markup inside. Check this sample anyway. :)</DIV>]]>
   </description>
   <pubDate>Wed, 04 Mar 2009 03:47:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13555&amp;PID=46235&amp;title=cxtpcontrolmarkuplabel-capabilities-in-command-bar#46235</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlMarkupLabel capabilities in command bar : Thanks Oleg,Maybe in future releases?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13555&amp;PID=46201&amp;title=cxtpcontrolmarkuplabel-capabilities-in-command-bar#46201</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2302">PierreL</a><br /><strong>Subject:</strong> 13555<br /><strong>Posted:</strong> 03 March 2009 at 2:13pm<br /><br />Thanks Oleg,<br><br>Maybe in future releases? <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"><br><br>About the format features of Markup (in regards to my sample), can I change the default look of the markup button from my sample above? More specifically, can I use LinearGradientBrush &amp; GradientStops? I tried but it requires the Page.Resource tag, which I assume is not supported in the CommandBars right?<br><br>Oh, and which Sample were you referring to in your reply?<br><br><br>Thanks again!<br>Peter<br><br><br><br>]]>
   </description>
   <pubDate>Tue, 03 Mar 2009 14:13:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13555&amp;PID=46201&amp;title=cxtpcontrolmarkuplabel-capabilities-in-command-bar#46201</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlMarkupLabel capabilities in command bar : Hi,  Sorry, with CommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13555&amp;PID=46165&amp;title=cxtpcontrolmarkuplabel-capabilities-in-command-bar#46165</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13555<br /><strong>Posted:</strong> 03 March 2009 at 1:03am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Sorry, with CommandBars you can only use format features of Markup but can't use its events :(</DIV><DIV>&nbsp;</DIV><DIV>So there is more difficult path - create standard STATIC with Markup (copy code from our sample) and insert it to toolbar with CXTPControlCustom control type.</DIV>]]>
   </description>
   <pubDate>Tue, 03 Mar 2009 01:03:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13555&amp;PID=46165&amp;title=cxtpcontrolmarkuplabel-capabilities-in-command-bar#46165</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlMarkupLabel capabilities in command bar : Hello folks,I&amp;#039;ve been playing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13555&amp;PID=46149&amp;title=cxtpcontrolmarkuplabel-capabilities-in-command-bar#46149</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2302">PierreL</a><br /><strong>Subject:</strong> 13555<br /><strong>Posted:</strong> 02 March 2009 at 9:14pm<br /><br />Hello folks,<br><br>I've been playing with the various markup features and I like it so far! Good job <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" align="absmiddle"><br><br>I must admit I'm having trouble understanding some of the capabilities as I'm new to XAML. It could also be that I'm trying to do something which is not supported? Here's an example of what I'm trying to achieve, maybe someone can help me figure this out?<br><br>I have a frame that contains a few toolbars. One of these toolbars hosts a CXTPControlMarkupLabel to which I applied some markup. I want it to look like this:<br><br><img src="uploads/20090302_210203_CXTPC&#111;ntrolMark.jpg" height="36" width="270" border="0"><br><br>(See further down for the markup code)<br><br><br>My problem:<br>1- The Button is not responding to click events as it does in the MarkupPad. For this to work, does the host of such a control need to derive from 'CXTPMarkupContext'?<br><br>2- If possible, how do I "connect" this label (using SetDelegate) when my frame does not derive from CXTPMarkupContext? Is there a way to do this so I can respond to events in my frame class? I'd like to display a drop-down list when it is clicked.<br><br>Thank's for your help,<br>Peter<br><br><u>Markup code:</u><br><br><font color="#006600" face="Courier New, Courier, mono"><br>&lt;StackPanel Orientation="Horizontal"&gt;<br>&nbsp;&lt;Button&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp; &lt;Grid&gt;<br>&nbsp;&nbsp; &lt;Grid.ColumnDefinitions&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="Auto"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="*"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="*"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="*"/&gt;<br>&nbsp;&nbsp; &lt;/Grid.ColumnDefinitions&gt;<br>&nbsp;&nbsp; &lt;Image Grid.Column="0" Width="24" Height="24" HorizontalAlignment="Left"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VerticalAlignment="Top" Source="1002"/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; &lt;TextBlock Grid.Column="1" FontWeight="Bold" Foreground="Navy" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text="Jason Bourne" TextAlignment="Left" VerticalAlignment="Center"/&gt;<br>&nbsp;&nbsp; &lt;TextBlock Grid.Column="2" Margin="8, 0, 8, 0" Foreground="Gray"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TextAlignment="Right" VerticalAlignment="Center"&gt;(Available: <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Hyperlink ToolTip="Call Jason..."&gt;+16101234567&lt;/Hyperlink&gt;)<br>&nbsp;&nbsp; &lt;/TextBlock&gt;<br>&nbsp;&nbsp; &lt;Image Grid.Column="3" Width="11" Height="11"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HorizontalAlignment="Right" VerticalAlignment="Center" Source="1003"/&gt; <br>&nbsp; &lt;/Grid&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&lt;/Button&gt;<br>&lt;/StackPanel&gt;</font><br><br>]]>
   </description>
   <pubDate>Mon, 02 Mar 2009 21:14:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13555&amp;PID=46149&amp;title=cxtpcontrolmarkuplabel-capabilities-in-command-bar#46149</guid>
  </item> 
 </channel>
</rss>