<?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 : COM - VB - XAML Progressbar Demo</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Samples and Demo Applications : COM - VB - XAML Progressbar Demo]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 20:07:32 +0000</pubDate>
  <lastBuildDate>Wed, 11 Jun 2008 13:10:16 +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=11171</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[COM - VB - XAML Progressbar Demo : Modified to use a triple gradient...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36576&amp;title=com-vb-xaml-progressbar-demo#36576</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11171<br /><strong>Posted:</strong> 11 June 2008 at 1:10pm<br /><br />Modified to use a triple gradient (to appear as though the gradient expands from the center point). <DIV>&nbsp;</DIV><DIV><BR><a href="uploads/20080611_130840_ClickProgressCe.zip" target="_blank">uploads/20080611_130840_ClickProgressCe.zip</A><BR></DIV><DIV>&nbsp;</DIV><DIV>Output:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080624_002449_XAML_ProgressMo.bmp" border="0"><BR></DIV>]]>
   </description>
   <pubDate>Wed, 11 Jun 2008 13:10:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36576&amp;title=com-vb-xaml-progressbar-demo#36576</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Progressbar Demo : And for a bit more fun, here&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36575&amp;title=com-vb-xaml-progressbar-demo#36575</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11171<br /><strong>Posted:</strong> 11 June 2008 at 1:00pm<br /><br />And for a bit more fun, here's a progress bar that expands from the center (including mouse support) instead of from the left edge. This is just on a label (not a ReportControl).<BR><BR><BR><a href="uploads/20080611_125940_ClickProgressCe.zip" target="_blank">uploads/20080611_125940_ClickProgressCe.zip</A><BR><BR><DIV>&nbsp;</DIV><DIV>Output:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080624_002043_XAML_ProgressMo.bmp" border="0"><BR></DIV>]]>
   </description>
   <pubDate>Wed, 11 Jun 2008 13:00:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36575&amp;title=com-vb-xaml-progressbar-demo#36575</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Progressbar Demo : Hi, I&amp;#039;ve made some modifications...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36569&amp;title=com-vb-xaml-progressbar-demo#36569</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11171<br /><strong>Posted:</strong> 11 June 2008 at 11:47am<br /><br />Hi,<DIV><BR>I've made some modifications to get the progress bar working with <strong>MouseDown/Move</strong> detecting for setting the percentage using the mouse.<BR><BR><BR><a href="uploads/20080611_114147_prg2.zip" target="_blank">uploads/20080611_114147_prg2.zip</A> </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Output:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080624_001455_XAML_RCProgress.bmp" border="0"></DIV>]]>
   </description>
   <pubDate>Wed, 11 Jun 2008 11:47:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36569&amp;title=com-vb-xaml-progressbar-demo#36569</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Progressbar Demo : Hi Jason   Thanks for updating...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36562&amp;title=com-vb-xaml-progressbar-demo#36562</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11171<br /><strong>Posted:</strong> 11 June 2008 at 10:53am<br /><br />Hi Jason <DIV>&nbsp;</DIV><DIV>Thanks for updating MarkUpProgress string, this is going into the right direction <img src="https://forum.codejock.com/smileys/smiley17.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080611_142810_TestProgressRC.zip" target="_blank">uploads/20080611_142810_TestProgressRC.zip</A>&nbsp;(V1.02)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Output:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080624_004429_XAML_RCProgress.bmp" border="0"></DIV>]]>
   </description>
   <pubDate>Wed, 11 Jun 2008 10:53:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36562&amp;title=com-vb-xaml-progressbar-demo#36562</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Progressbar Demo : Just for fun I put together a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36560&amp;title=com-vb-xaml-progressbar-demo#36560</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11171<br /><strong>Posted:</strong> 11 June 2008 at 10:33am<br /><br />Just for fun I put together a little demo that allows you to click anywhere on a markup enabled label and it will draw the progress bar at that position (drag left &amp; right to decrease/increase percent). I haven't used the ReportControl yet, so I don't know how it responds to MouseDown/Move events for cells, but if it does this similar to a Label control, then this code should be usable with the ReportControl with minor modifications.<BR><BR><a href="uploads/20080611_103209_ClickProgress.zip" target="_blank">uploads/20080611_103209_ClickProgress.zip</A><BR><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Output:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080624_000956_XAML_ProgressMo.bmp" border="0"></DIV>]]>
   </description>
   <pubDate>Wed, 11 Jun 2008 10:33:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36560&amp;title=com-vb-xaml-progressbar-demo#36560</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Progressbar Demo : Here&amp;#039;s a variation on the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36559&amp;title=com-vb-xaml-progressbar-demo#36559</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11171<br /><strong>Posted:</strong> 11 June 2008 at 10:08am<br /><br />Here's a variation on the last markup example where the % text appearsin the center of the entire bar rather than the progress portion.(Note: This is just the XAML portion as I entered into the MarkupPad,it has not been reformatted for your sample):<br><br><br><table width="99%"><tr><td><pre class="BBcode"><br>&lt;StackPanel Height='30px' HorizontalAlignment='Center'&gt;<br>&nbsp;&nbsp;&nbsp; &lt;Grid&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Grid.ColumnDefinitions&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;ColumnDefinition Width="100px"/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Grid.ColumnDefinitions&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Border Grid.Column='0' Width='100px' Background='Blue' BorderThickness='1px' BorderBrush='#5E7293'&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Border.Background&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;LinearGradientBrush StartPoint="0, 0" EndPoint="0,1"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;GradientStop Color="#C0CBDF" Offset="0"/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;GradientStop Color="#DCE9FA" Offset="1"/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/LinearGradientBrush&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Border.Background&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Border&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Border Grid.Column='0' Width='50px' HorizontalAlignment='Left' BorderThickness='1px' BorderBrush='#5E7293'&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Border.Background&gt;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;LinearGradientBrush StartPoint="0, 0" EndPoint="1,0"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;GradientStop Color="#658C4B" Offset="0"/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;GradientStop Color="#A4DB64" Offset="1"/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/LinearGradientBrush&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Border.Background&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Border&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Border Grid.Column='0'&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;TextBlock HorizontalAlignment='Center' Foreground='White'&gt;&lt;Bold&gt;50%&lt;/Bold&gt;&lt;/TextBlock&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/Border&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/Grid&gt;<br>&lt;/StackPanel&gt;<br></pre></td></tr></table><br><br>I used a StackPanel to control the height, but I think you could remove it for the ReportControl to fill the available space. The Grid element allows the progress bar to be layered (background, progress, text) by assigning each Border element to the same grid cell. I'm not sure if this is the best way to accomplish the goal, but it works.<br><br>Here's the output:<br><br><img src="uploads/20080611_100807_progressxaml2.jpg" height="87" width="167" border="0"><br>]]>
   </description>
   <pubDate>Wed, 11 Jun 2008 10:08:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36559&amp;title=com-vb-xaml-progressbar-demo#36559</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Progressbar Demo : I tried some markup, in hopes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36515&amp;title=com-vb-xaml-progressbar-demo#36515</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11171<br /><strong>Posted:</strong> 10 June 2008 at 3:18pm<br /><br />I tried some markup, in hopes that you could use the Border tag to create a basic progress bar without needing to know the rectangle of the cell...unfortunately, it seems that the current implementation makes no distinction between PX and % after a value (probably the same as the PX/PT issue mentioned in another thread). So:<BR><BR><table width="99%"><tr><td><pre class="BBcode"><BR>&lt;Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'&gt;<BR>&nbsp; &lt;Border BorderBrush='Blue' BorderThickness='1px' Height='18px' Width='200px'&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;Border HorizontalAlignment='Left' BorderBrush='Blue' Background='Blue' Width='100%'&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/Border&gt;<BR>&nbsp; &lt;/Border&gt;<BR>&lt;/Page&gt;<BR></pre></td></tr></table><BR><BR>Output:<BR><img src="uploads/20080610_151606_percentmarkup.jpg" border="0"><BR>Even though you would expect Width='100%' to fill the entire box. It turns out the 100% is interpreted as 100px, so this won't work. You could however manually calculate the required pixels for a particular percentage and use the code above for a simple progress bar. (NOTE: ditch the Width &amp; Height attributes in the first border to fill the available area)..<BR><BR>]]>
   </description>
   <pubDate>Tue, 10 Jun 2008 15:18:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11171&amp;PID=36515&amp;title=com-vb-xaml-progressbar-demo#36515</guid>
  </item> 
 </channel>
</rss>