<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Xpert360 Ltd Development Blog</title>
	<atom:link href="http://xpert360.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://xpert360.wordpress.com</link>
	<description>Development Team Articles</description>
	<lastBuildDate>Thu, 12 Jan 2012 01:59:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='xpert360.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/cbcd20023c27c62d634378c4a60fceef?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Xpert360 Ltd Development Blog</title>
		<link>http://xpert360.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://xpert360.wordpress.com/osd.xml" title="Xpert360 Ltd Development Blog" />
	<atom:link rel='hub' href='http://xpert360.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Silverlight 5 RC &#8211; Getting started with PivotViewer</title>
		<link>http://xpert360.wordpress.com/2011/09/02/silverlight-5-rc-getting-started-with-pivotviewer/</link>
		<comments>http://xpert360.wordpress.com/2011/09/02/silverlight-5-rc-getting-started-with-pivotviewer/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 14:56:33 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Pivot]]></category>
		<category><![CDATA[PivotViewer]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SL5]]></category>
		<category><![CDATA[collection]]></category>
		<category><![CDATA[cxml]]></category>
		<category><![CDATA[pivotviewer]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=918</guid>
		<description><![CDATA["Hello World!" PivotViewer application sample for use with Silverlight 5 RC (01-SEP-2011) development environment. <a href="http://xpert360.wordpress.com/2011/09/02/silverlight-5-rc-getting-started-with-pivotviewer/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=918&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">[<span style="color:#00ccff;">Updated 06-SEP-2011 - NEW SAMPLES</span>]</p>
<p style="text-align:left;">Lovely jubbly! Silverlight 5 RC is <a title="Pete Brown SL5 RC post" href="http://10rem.net/blog/2011/09/01/silverlight-5-rc-now-available" target="_blank">here</a>&#8230;</p>
<h3 style="text-align:left;"><span style="text-decoration:underline;"><em>Documentation</em></span></h3>
<p><span style="color:#ff0000;"><span style="color:#000000;">Do download the offline help CHM or use the matching online MSDN documentation which is now available &#8211; <a title="MSDN Documentation for Silverlight RC PivotViewer control" href="http://msdn.microsoft.com/en-us/library/system.windows.controls.pivot.pivotviewer(VS.96).aspx" target="_blank">MSDN PivotViewer class</a></span></span></p>
<p><span style="color:#ff0000;"><span style="color:#000000;"><span style="color:#0000ff;">Next step</span>: I need some sort of &#8220;Hello world&#8221; PivotViewer application, please&#8230;</span></span></p>
<h3><span style="text-decoration:underline;"><em><strong><span style="color:#ff0000;"><span style="color:#000000;text-decoration:underline;">Hello New World!</span></span></strong></em></span></h3>
<p>Look in the &#8220;PivotViewer class&#8221; help at the bottom, and/or download my sample. <span style="color:#ff0000;"><span style="color:#000000;">I have uploaded <a title="Silverlight 5 RC PivotViewer 'Hello World!'" href="http://www.xpert360.net/SL5/SL5RC_PVTest.zip" target="_blank">this very basic sample for DOWNLOAD</a> as some people seem to be experiencing problems. If this simple sample doesn&#8217;t work then likely there is something wrong with your environment. My environment is W7 64-bit Ultimate, VS2010 Sp1, Sl5 Beta (<span style="color:#808080;"><em>not uninstalled; I know, bad boy, but I was in a rush</em></span> ;) and then Sl5 RC. Also quad-core 8GB memory, here is <a title="SL5 RC PivotViewer simple stress test" href="http://www.xpert360.net/SL5/SL5RC_PVStress.zip" target="_blank">very simple stress test SAMPLE</a> too, feel free to modify it. This simple works when not served from a web server.</span></span></p>
<p><span style="color:#ff0000;"><span style="color:#000000;">It isn&#8217;t pretty but that is not the point. If you are having problems then get back to check out why. Happy PivotViewing! I&#8217;ll post some better samples in the next few days.</span></span></p>
<div id="attachment_921" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/09/sl5rc_helloworld.gif"><img class="size-full wp-image-921" title="SL5RC_HelloWorld" src="http://xpert360.files.wordpress.com/2011/09/sl5rc_helloworld.gif?w=500&#038;h=297" alt="Hello world from SL5 RC PivotViewer!" width="500" height="297" /></a><p class="wp-caption-text">Hello world from SL5 RC PivotViewer!</p></div>
<div>
<h3><span style="text-decoration:underline;"><em><strong>Hello OLD World!</strong></em></span></h3>
<p>Here is a sample mixing some legacy CXML collections from Xpert360 with some Silverlight 5 RC PivotViewer and some styling for you to play with. Again feel free to modify.</p>
<p style="text-align:center;"><strong><span style="color:#0000ff;"><a title="Silverlight 5 RC PivotViewer and CXML sample" href="http://www.xpert360.net/SL5/SL5RC_PVCxml.zip" target="_blank">DOWNLOAD SOURCECODE</a></span></strong></p>
<p style="text-align:left;">And some screen shots&#8230;</p>
<div id="attachment_938" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/09/sl5rc_hellocxml.gif"><img class="size-full wp-image-938" title="SL5RC_HelloCxml" src="http://xpert360.files.wordpress.com/2011/09/sl5rc_hellocxml.gif?w=500&#038;h=299" alt="PivotViewer sample Silverlight 5 RC CXML style" width="500" height="299" /></a><p class="wp-caption-text">PivotViewer sample Silverlight 5 RC CXML style</p></div>
<p style="text-align:left;">&#8230;</p>
<div id="attachment_939" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/09/sl5rc_hellocxml2.gif"><img class="size-full wp-image-939" title="SL5RC_HelloCxml2" src="http://xpert360.files.wordpress.com/2011/09/sl5rc_hellocxml2.gif?w=500&#038;h=299" alt="PivotViewer sample Silverlight 5 RC CXML style" width="500" height="299" /></a><p class="wp-caption-text">PivotViewer sample Silverlight 5 RC CXML style</p></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/918/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/918/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/918/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/918/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/918/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/918/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/918/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/918/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/918/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/918/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/918/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/918/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/918/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/918/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=918&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/09/02/silverlight-5-rc-getting-started-with-pivotviewer/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:thumbnail url="http://xpert360.files.wordpress.com/2011/09/sl5rc_helloworld.gif?w=150" />
		<media:content url="http://xpert360.files.wordpress.com/2011/09/sl5rc_helloworld.gif?w=150" medium="image">
			<media:title type="html">SL5RC_HelloWorld</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/09/sl5rc_helloworld.gif" medium="image">
			<media:title type="html">SL5RC_HelloWorld</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/09/sl5rc_hellocxml.gif" medium="image">
			<media:title type="html">SL5RC_HelloCxml</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/09/sl5rc_hellocxml2.gif" medium="image">
			<media:title type="html">SL5RC_HelloCxml2</media:title>
		</media:content>
	</item>
		<item>
		<title>PivotViewer Shorts Part 5: Invert Facet Category Selections</title>
		<link>http://xpert360.wordpress.com/2011/06/22/pivotviewer-shorts-part-5-invert-facet-category-selections/</link>
		<comments>http://xpert360.wordpress.com/2011/06/22/pivotviewer-shorts-part-5-invert-facet-category-selections/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 20:39:08 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Pivot]]></category>
		<category><![CDATA[PivotViewer]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SL4]]></category>
		<category><![CDATA[Visualization]]></category>
		<category><![CDATA[Category]]></category>
		<category><![CDATA[facet]]></category>
		<category><![CDATA[Invert]]></category>
		<category><![CDATA[pivotviewer]]></category>
		<category><![CDATA[Selection]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=905</guid>
		<description><![CDATA[Sample code to access the internal PivotViewer method to invert a facet category's selections. <a href="http://xpert360.wordpress.com/2011/06/22/pivotviewer-shorts-part-5-invert-facet-category-selections/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=905&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="color:#000080;font-size:x-large;">
<div id="attachment_907" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/invertselection.jpg"><img class="size-full wp-image-907" title="Silverlight PivotViewer Invert Facet Category Selections" src="http://xpert360.files.wordpress.com/2011/06/invertselection.jpg?w=500&#038;h=292" alt="Silverlight PivotViewer Invert Facet Category Selections" width="500" height="292" /></a><p class="wp-caption-text">Silverlight PivotViewer Invert Facet Category Selections</p></div>
<div style="color:#000080;font-size:x-large;">Introduction</div>
</div>
<div>By default the Silverlight PivotViewer control does not support inversion of a facet category&#8217;s selections, even though internally the control has the functionality.</div>
<div>Some people have expressed a wish to improve the UX with a custom button to implement &#8216;<em>invert selection</em>&#8216;.</div>
<div>This short post shows how to locate the UI elements for the facet manager and the view model in order to access this feature.</div>
<div style="color:#000080;font-size:x-large;">Locating the UI Elements</div>
<div>
<p>The flow of the code goes something like this:</p>
<ul>
<li>Locate the &#8220;PART_Container&#8221; in the tree. This is a Grid control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">CollectionViewerView</span> control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">CollectionViewContainer</span> control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">CollectionViewerViewModel</span> control.</li>
</ul>
<pre>Grid partContainer = (Grid)this.GetTemplateChild("PART_Container");
CollectionViewerView cvv =
    ((CollectionViewerView)(partContainer).Children[0]);
Grid container = cvv.Content as Grid;
Grid viewerGrid = container.Children[1] as Grid;
CollectionViewContainer cvc =
    (CollectionViewContainer)viewerGrid.Children[0];
CollectionViewerViewModel cvvm =
    (CollectionViewerViewModel)ViewBehaviors.GetViewModel(cvv);</pre>
<p>The FacetManager contains a method to invert a facet category&#8217;s selection:</p>
<pre>cvvm.FacetManager.InvertSelectionInCategory(cvc.SortCategory);</pre>
<div style="color:#000080;font-size:x-large;">FAQ</div>
<div>The easiest way of accessing this feature is with a custom button though no doubt a keyboard shortcut could be conjured up.</div>
<div>You will need some internal Microsoft Pivot references and usings too. Depending upon the extent of your other customizations you will need these:</div>
<div style="color:#ffffff;">+</div>
<div style="border:1px solid #808080;font-size:x-small;padding:8px;"><span style="color:#0000ff;">using</span> System.Windows.Pivot;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Controls;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Model;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.ViewModels;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Views;</div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">Further things to do</div>
<div>
<ul>
<li><a href="http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/">Xpert360 PivotViewer Blog Article Index</a></li>
<li><a href="http://i2.silverlight.net/content/pivotviewer/developer-info/api/" target="_blank">PivotViewer Control &#8211; Public API</a></li>
<li><a href="http://forums.silverlight.net/forums/68.aspx" target="_blank">Microsoft Silverlight Forums &#8211; PivotViewer Control</a></li>
<li><a href="http://xpert360.com/default.htm" target="_blank">Xpert360 Ltd &#8211; who allow time for blogging</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">Conclusion</div>
<div>This article is a brief guide to locating some visual elements of the Silverlight PivotViewer control in order to access the internal functionality that inverts the selections of a facet category. It targets the developer who has already started customizing the Silverlight PivotViewer control beyond the public API and alter the UX.</div>
<div>Any comments or request for future topics are welcome.</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/905/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/905/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/905/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=905&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/06/22/pivotviewer-shorts-part-5-invert-facet-category-selections/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:thumbnail url="http://xpert360.files.wordpress.com/2011/06/invertselection.jpg?w=150" />
		<media:content url="http://xpert360.files.wordpress.com/2011/06/invertselection.jpg?w=150" medium="image">
			<media:title type="html">Silverlight PivotViewer Invert Facet Category Selections</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/invertselection.jpg" medium="image">
			<media:title type="html">Silverlight PivotViewer Invert Facet Category Selections</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft Kinect gets more awesome = Windows SDK</title>
		<link>http://xpert360.wordpress.com/2011/06/16/microsoft-kinect-gets-more-awesome-win-sdk/</link>
		<comments>http://xpert360.wordpress.com/2011/06/16/microsoft-kinect-gets-more-awesome-win-sdk/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 10:02:33 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Kinect]]></category>
		<category><![CDATA[Kinect for Windows]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[Xbox]]></category>
		<category><![CDATA[Kinect SDK]]></category>
		<category><![CDATA[Xbox 360]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=857</guid>
		<description><![CDATA[[ UPDATED: 17-JUN-2011 19:20 GMT ] The deadly autonomous office sentry Programming voice recognition demo Twitter is busy with the trending #Kinect topic. Ch9 Blogs: Join Us Tomorrow For A Special Channel 9 Live Kinect Event - follow the Twitter #Ch9Live hashtag &#8230; <a href="http://xpert360.wordpress.com/2011/06/16/microsoft-kinect-gets-more-awesome-win-sdk/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=857&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;">[ <span style="color:#339966;">UPDATED: 17-JUN-2011 19:20 GMT</span> ]</p>
<div id="attachment_878" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/launch.jpg"><img class="size-full wp-image-878" title="Launch on Channel 9" src="http://xpert360.files.wordpress.com/2011/06/launch.jpg?w=500&#038;h=267" alt="Launch on Channel 9" width="500" height="267" /></a><p class="wp-caption-text">Launch on Channel 9</p></div>
<p style="text-align:center;">The deadly autonomous office sentry</p>
<div id="attachment_891" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/kinectofficesentry.jpg"><img class="size-full wp-image-891" title="Autonomus Kinect Office Sentry" src="http://xpert360.files.wordpress.com/2011/06/kinectofficesentry.jpg?w=500&#038;h=315" alt="Autonomus Kinect Office Sentry" width="500" height="315" /></a><p class="wp-caption-text">Autonomus Kinect Office Sentry</p></div>
<p style="text-align:center;">Programming voice recognition demo</p>
<div id="attachment_893" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/programmingvoicerecognition.jpg"><img class="size-full wp-image-893" title="Programming Voice Recognition" src="http://xpert360.files.wordpress.com/2011/06/programmingvoicerecognition.jpg?w=500&#038;h=300" alt="Programming Voice Recognition" width="500" height="300" /></a><p class="wp-caption-text">Programming Voice Recognition in Kinect SDK</p></div>
<p style="text-align:center;">Twitter is busy with the trending #Kinect topic.</p>
<div id="attachment_863" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/ch9tweet.jpg"><img class="size-full wp-image-863" title="Channel 9 Live Kinect Event" src="http://xpert360.files.wordpress.com/2011/06/ch9tweet.jpg?w=500&#038;h=106" alt="Channel 9 Live Kinect Event" width="500" height="106" /></a><p class="wp-caption-text">ch9 Tweet - Channel 9 Live Kinect Event</p></div>
<p><span style="color:#3366ff;"><strong><a title="Channel 9 Blog Post" href="http://channel9.msdn.com/posts/Join-Us-Tomorrow-For-A-Special-Channel-9-Live-Kinect-Event" target="_blank"><span style="color:#3366ff;">Ch9 Blogs: Join Us Tomorrow For A Special Channel 9 Live Kinect Event</span></a> <span style="color:#000000;">- </span></strong><span style="color:#000000;">follow the Twitter</span> <strong><a title="#Ch9Live on Twitter" href="http://twitter.com/#!/search/%23Ch9Live" target="_blank">#Ch9Live</a></strong> <span style="color:#000000;">hashtag and post questions live!</span></span></p>
<p><span style="color:#3366ff;"><span style="color:#000000;">Confirmed: Watch the Kinect SDK Beta Launch Live!</span></span></p>
<div id="attachment_877" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/kinectforwinsdk.jpg"><img class="size-full wp-image-877" title="Kinect For Windows SDK beta" src="http://xpert360.files.wordpress.com/2011/06/kinectforwinsdk.jpg?w=500&#038;h=280" alt="Kinect For Windows SDK beta" width="500" height="280" /></a><p class="wp-caption-text">Be part of the movement - Kinect For Windows SDK beta</p></div>
<p><span style="color:#3366ff;"><span style="color:#000000;">Resources: <span style="color:#0000ff;"><a href="http://research.microsoft.com/kinectsdk/"><span style="color:#0000ff;">Download the SDK</span></a></span> Check out the <span style="color:#0000ff;"><a href="http://channel9.msdn.com/series/KinectSDKQuickstarts/"><span style="color:#0000ff;">Kinect Quick Starts</span></a></span> and view the <span style="color:#0000ff;"><a href="http://channel9.msdn.com/coding4fun/kinect/"><span style="color:#0000ff;">Kinect Project Gallery</span></a></span> on Coding 4 Fun    </span></span></p>
<p><span style="color:#3366ff;"><span style="color:#000000;">Michael Crump &#8211; <span style="color:#0000ff;"><a title="The busy developers guide to the Kinect SDK Beta" href="http://michaelcrump.net/mbcrump/archive/2011/06/17/the-busy-developers-guide-to-the-kinect-sdk-beta.aspx" target="_blank"><span style="color:#0000ff;">The busy developer&#8217;s guide to the Kinect SDK Beta</span></a></span></span></span></p>
<p><strong>Kinect</strong> is awesome. Yes it is about to become an essential business tool for remote workers and the boardroom too. &#8220;Minority Report&#8221; with optional glove as a fashion accessary. XBOX + Kinect = valid business expense!</p>
<p>Officially announced for Beta release on 16th May 2011 and finally expected today. With <strong>Windows 8</strong>, <strong>BUILD</strong> and the <strong>Skype acquisition</strong> it was no surprise that there has been a short delay.</p>
<p>As the story unfold we will update this post with all the news, resource links and more&#8230;</p>
<h4><span style="text-decoration:underline;"><span style="color:#0000ff;text-decoration:underline;"><strong>About</strong></span></span></h4>
<table border="0" cellspacing="0" cellpadding="0">
<col width="654" />
<col width="326" />
<tbody>
<tr>
<td valign="top">The Kinect for Windows SDK beta is a programming toolkit for application developers. It enables the academic and enthusiast communities easy access to the capabilities offered by the Microsoft Kinect device connected to computers running the Windows 7 operating system.The Kinect for Windows SDK beta includes drivers, rich APIs for raw sensor streams and human motion tracking, installation documents, and resource materials. It provides Kinect capabilities to developers who build applications with C++, C#, or Visual Basic by using Microsoft Visual Studio 2010.</p>
<h5>This SDK includes the following features:</h5>
<ul>
<li>
<div>Raw sensor streams</div>
<p>Access to raw data streams from the depth sensor, color camera sensor, and four-element microphone array enables developers to build upon the low-level streams that are generated by the Kinect sensor.</li>
<li>
<div>Skeletal tracking</div>
<p>The capability to track the skeleton image of one or two people moving within the Kinect field of view make it easy to create gesture-driven applications.</li>
<li>
<div>Advanced audio capabilities</div>
<p>Audio processing capabilities include sophisticated acoustic noise suppression and echo cancellation, beam formation to identify the current sound source, and integration with the Windows speech recognition API.</li>
<li>
<div>Sample code and documentation</div>
<p>The SDK includes more than 100 pages of technical documentation. In addition to built-in help files, the documentation includes detailed walkthroughs for most samples provided with the SDK.</li>
<li>
<div>Easy installation</div>
<p>The SDK installs quickly, requires no complex configuration, and the complete installer size is less than 100 MB. Developers can get up and running in just a few minutes with a standard standalone Kinect sensor unit (widely available at retail outlets).</li>
</ul>
<p>This SDK is designed for non-commercial purposes only; a commercial version is expected to be available at a later date.</td>
</tr>
</tbody>
</table>
<h4><span style="color:#0000ff;text-decoration:underline;"><strong>A Year is a Long Time in IT!</strong></span></h4>
<p>A year ago at E3 2010 XBOX 360 Kinect VideoKinect &#8211; Video Chat.</p>
<div id="attachment_858" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/e3_2010_videokinect.jpg"><img class="size-full wp-image-858" title="E3 2010 XBOX 360 VideoKinect" src="http://xpert360.files.wordpress.com/2011/06/e3_2010_videokinect.jpg?w=500&#038;h=308" alt="E3 2010 XBOX 360 VideoKinect" width="500" height="308" /></a><p class="wp-caption-text">E3 2010 XBOX 360 Kinect VideoKinect - Video Chat</p></div>
<p>Waiting and waiting for the end of Spring 2011?</p>
<div id="attachment_859" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/kinectwinsdk.jpg"><img class="size-full wp-image-859" title="Kinect Windows SDK Beta" src="http://xpert360.files.wordpress.com/2011/06/kinectwinsdk.jpg?w=500&#038;h=291" alt="Kinect Windows SDK Beta" width="500" height="291" /></a><p class="wp-caption-text">Kinect Windows SDK Beta - Almost time, get ready, take control!</p></div>
<p>June 16th 2011 &#8211; Is today the day? Yes it is!!!</p>
<div id="attachment_862" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/ch9kinnectcountdown.jpg"><img class="size-full wp-image-862" title="Channel 9 Live - Kinnect Countdown!" src="http://xpert360.files.wordpress.com/2011/06/ch9kinnectcountdown.jpg?w=500&#038;h=365" alt="Channel 9 Live - Kinnect Countdown!" width="500" height="365" /></a><p class="wp-caption-text">Channel 9 Live - Kinnect Countdown!</p></div>
<p>&#8230;</p>
<h4><span style="color:#0000ff;text-decoration:underline;"><strong>Demos</strong></span></h4>
<p>Demos on Channel 9 Live:</p>
<ul>
<li>Bunny hop &#8211; XBox and Windows Phone</li>
<li>Kinductor</li>
<li>Drone &#8211; Pitch, Roll, Yaw, Voice commands (Wooah!)</li>
<li>Fruit Salad</li>
<li>Unlock the Door</li>
<li>Cylon</li>
<li>Skeletal Viewer</li>
</ul>
<div id="attachment_885" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/droneflying.jpg"><img class="size-full wp-image-885" title="Drone Flying Demo Kinect" src="http://xpert360.files.wordpress.com/2011/06/droneflying.jpg?w=500&#038;h=284" alt="Drone Flying Demo Kinect" width="500" height="284" /></a><p class="wp-caption-text">Drone Flying Demo Kinect</p></div>
<p>&#8230;</p>
<div id="attachment_887" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/kinductordemo.jpg"><img class="size-full wp-image-887" title="Kinductor Demo - Channel 9 Live" src="http://xpert360.files.wordpress.com/2011/06/kinductordemo.jpg?w=500&#038;h=162" alt="Kinductor Demo - Channel 9 Live" width="500" height="162" /></a><p class="wp-caption-text">Kinductor Demo - Channel 9 Live</p></div>
<p>&#8230;</p>
<div id="attachment_889" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/06/programmingskeletalviewer.jpg"><img class="size-full wp-image-889" title="Programming Skeletal Viewer Demo" src="http://xpert360.files.wordpress.com/2011/06/programmingskeletalviewer.jpg?w=500&#038;h=314" alt="Programming Skeletal Viewer Demo" width="500" height="314" /></a><p class="wp-caption-text">Programming Skeletal Viewer Demo</p></div>
<p>&#8230;</p>
<p>Of course one of the first Kinect for Windows SDK Projects has to involve a <span style="color:#ff0000;"><em><strong><a title="Some fun for the office or what?" href="http://channel9.msdn.com/coding4fun/kinect/Of-course-our-first-Kinect-for-Windows-SDK-Project-has-to-involve-a-Light-Saber" target="_blank"><span style="color:#ff0000;">Light Sabre</span></a></strong></em></span>! &gt;&gt;&gt; <span style="color:#0000ff;"><a title="Light Sabre XNA sample code" href="http://www.catuhe.com/msdn/Kinect%20Sabre.zip" target="_blank"><span style="color:#0000ff;">Download code sample</span></a></span></p>
<p>&#8230;</p>
<h4><span style="color:#0000ff;text-decoration:underline;"><strong>Resources</strong></span></h4>
<p>Since the Fall of 2010 there have been some empty projects sitting on CopePlex so today we are looking for some updates here:</p>
<ul>
<li><span style="color:#0000ff;"><a title="Kinect for Windows SDK beta" href="http://research.microsoft.com/en-us/um/redmond/projects/kinectsdk/default.aspx" target="_blank"><span style="color:#0000ff;">Kinect for Windows SDK beta</span></a></span> - go download and explore!</li>
<li><span style="color:#0000ff;"><a title="CodePlex Project - Coding4Fun Kinect Toolkit" href="http://c4fkinect.codeplex.com/releases/view/68333" target="_blank"><span style="color:#0000ff;">Coding4Fun Kinect Toolkit</span></a></span> &#8211; CodePlex</li>
<li><span style="color:#0000ff;"><a title="CodePlex Project - Connect Paint" href="http://paint.codeplex.com/" target="_blank"><span style="color:#0000ff;">Kinect Paint</span></a></span> &#8211; CodePlex</li>
<li><span style="color:#0000ff;"><a title="CodePlex Project - Kinect Mouse Cursor" href="http://kinectmouse.codeplex.com/" target="_blank"><span style="color:#0000ff;">Kinect Mouse Cursor</span></a></span> &#8211; CodePlex</li>
<li><span style="color:#0000ff;"><a title="CodePlex - Silverlight Kinect Demos" href="http://silverlightkinect.codeplex.com/" target="_blank"><span style="color:#0000ff;">Silverlight Kinect Demos</span></a></span> &amp; <a title="LiquidBoy brings Kinect to Silverlight" href="http://advertboy.wordpress.com/" target="_blank">SL + Kinect = Apps of tomorrow</a></li>
<li><span style="color:#0000ff;"><a title="CodePlex Project - Project Jellybean, the Kinect drivable lounge chair!" href="http://jellybean.codeplex.com/" target="_blank"><span style="color:#0000ff;">Project Jellybean, the Kinect drivable lounge chair!</span></a></span> &#8211; CodePlex</li>
<li><a title="CodePlex - KINECT CALL" href="http://kinectsdk.codeplex.com/" target="_blank">KINECT SDK</a> - CodePlex &#8211; NOTHING</li>
<li><a title="CodePlex - KINECT CALL" href="http://kinectcall.codeplex.com/" target="_blank">KINECT CALL</a> - CodePlex &#8211; NOTHING</li>
</ul>
<h4><span style="color:#0000ff;"><strong><span style="text-decoration:underline;">Speculation?</span></strong></span></h4>
<p>Where does <strong>Skype</strong> fit into all this too: <strong>Skype + Lync + Kinect + Win7 = ?</strong></p>
<p>Did the <em><strong><span style="color:#3366ff;"><a title="Skype-on-your-TV announcement" href="http://blogs.skype.com/en/2010/01/skype_on_your_tv.html" target="_blank"><span style="color:#3366ff;">Skype-on-TV</span></a></span></strong></em> force Microsoft&#8217;s hand in the acquisition with the upcoming competition to the new Kinect offering? Too early for this yet.</p>
<h4><span style="color:#0000ff;text-decoration:underline;"><strong>Other Links</strong></span></h4>
<p><span style="color:#0000ff;"><a title="Channel 9 - Jellybean, the Kinect Drivable Lounge Chair" href="http://channel9.msdn.com/coding4fun/articles/Jellybean-the-Kinect-Drivable-Lounge-Chair" target="_blank"><span style="color:#0000ff;">Jellybean, the Kinect Drivable Lounge Chair</span></a> <span style="color:#000000;">- Channel 9 Coding4Fun DIY</span></span></p>
<p><span style="color:#0000ff;"><a title="Augmented Reality Videoconferencing" href="http://www.inavateonthenet.net/article/41306/Kinect-Videoconferencing-AR--.aspx" target="_blank"><span style="color:#0000ff;">Kinect and Videoconferencing</span></a></span> + Augmented Reality at MIT&#8217;s Media Lab.</p>
<p><span style="color:#0000ff;"><a title="Kinect Wikipedia Page" href="http://en.wikipedia.org/wiki/Kinect" target="_blank"><span style="color:#0000ff;">Wikipedia Kinect page</span></a></span> &#8211; the story of &#8216;Project Natal&#8217;</p>
<h4><span style="color:#0000ff;text-decoration:underline;"><span style="text-decoration:underline;"><strong>Conclusions</strong></span></span></h4>
<p>Program in C#, VB, F#, C++ for Silverlight, WPF. Open for invention!</p>
<p>No hint of Skype videoconferencing KInect application &#8211; yet&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/857/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=857&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/06/16/microsoft-kinect-gets-more-awesome-win-sdk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:thumbnail url="http://xpert360.files.wordpress.com/2011/06/kinectforwinsdk.jpg?w=150" />
		<media:content url="http://xpert360.files.wordpress.com/2011/06/kinectforwinsdk.jpg?w=150" medium="image">
			<media:title type="html">Kinect For Windows SDK beta</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/launch.jpg" medium="image">
			<media:title type="html">Launch on Channel 9</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/kinectofficesentry.jpg" medium="image">
			<media:title type="html">Autonomus Kinect Office Sentry</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/programmingvoicerecognition.jpg" medium="image">
			<media:title type="html">Programming Voice Recognition</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/ch9tweet.jpg" medium="image">
			<media:title type="html">Channel 9 Live Kinect Event</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/kinectforwinsdk.jpg" medium="image">
			<media:title type="html">Kinect For Windows SDK beta</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/e3_2010_videokinect.jpg" medium="image">
			<media:title type="html">E3 2010 XBOX 360 VideoKinect</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/kinectwinsdk.jpg" medium="image">
			<media:title type="html">Kinect Windows SDK Beta</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/ch9kinnectcountdown.jpg" medium="image">
			<media:title type="html">Channel 9 Live - Kinnect Countdown!</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/droneflying.jpg" medium="image">
			<media:title type="html">Drone Flying Demo Kinect</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/kinductordemo.jpg" medium="image">
			<media:title type="html">Kinductor Demo - Channel 9 Live</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/programmingskeletalviewer.jpg" medium="image">
			<media:title type="html">Programming Skeletal Viewer Demo</media:title>
		</media:content>
	</item>
		<item>
		<title>PivotViewer Shorts Part 4: Restyle the ZoomSlider child controls</title>
		<link>http://xpert360.wordpress.com/2011/06/02/pivotviewer-shorts-part-4-restyle-the-zoomslider-child-controls/</link>
		<comments>http://xpert360.wordpress.com/2011/06/02/pivotviewer-shorts-part-4-restyle-the-zoomslider-child-controls/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 19:11:10 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Localisation]]></category>
		<category><![CDATA[Pivot]]></category>
		<category><![CDATA[PivotViewer]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[skins]]></category>
		<category><![CDATA[SL4]]></category>
		<category><![CDATA[Xpert360]]></category>
		<category><![CDATA[pivotviewer]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[visualtree]]></category>
		<category><![CDATA[zoomslider]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=847</guid>
		<description><![CDATA[Use the VisualTreeHelper to dig deeper inside the Silverlight PivotViewer UIElements and access them all for re-styling! <a href="http://xpert360.wordpress.com/2011/06/02/pivotviewer-shorts-part-4-restyle-the-zoomslider-child-controls/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=847&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="color:#000080;font-size:x-large;">Introduction</div>
<div>By default the SL4 PivotViewer control displays a custom control for controling the zoom-level of the tile views. A few people have expressed a wish to totally reskin the control and this is a step along that path that hints at the technique needed to dig deeper into the PivotViewer visual tree.</div>
<div> </div>
<div>This short post shows how to locate the UI element for the control bar, the ZoomSlider, all its visual elements and then alter their background.</div>
<div> </div>
<div>
<div id="attachment_849" class="wp-caption aligncenter" style="width: 396px"><a href="http://xpert360.files.wordpress.com/2011/06/zoomsliderstyling.jpg"><img class="size-full wp-image-849" title="PivotViewer ZoomSlider Re-Styling" src="http://xpert360.files.wordpress.com/2011/06/zoomsliderstyling.jpg?w=500" alt="PivotViewer ZoomSlider Re-Styling"   /></a><p class="wp-caption-text">PivotViewer ZoomSlider Re-Styling</p></div>
<p> </p></div>
<div style="color:#000080;font-size:x-large;">Locating the UI Elements</div>
<div>
<div>
<p>The flow of the code goes something like this:</p>
<ul>
<li>Locate the &#8220;PART_Container&#8221; in the tree. This is a Grid control.</li>
<li>Or&#8230; go direct to the &#8220;PART_ControlBar&#8221; element.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">ControlBarView</span> to access the child controls.</li>
<li>Build a list of child controls using <strong><span style="color:#2b91af;">VisualTreeHelper</span></strong>.</li>
</ul>
</div>
<div style="font-size:x-small;border:#808080 1px solid;padding:8px;"><span style="color:#008000;">// Locate UI Elements</span><br />
<span style="color:#ffffff;"><span style="color:#000000;">    ControlBarView ControlBar = (ControlBarView)this.GetTemplateChild(&#8220;PART_ControlBar&#8221;);</span><br />
<span style="color:#000000;">    Grid ctrlBarContent = (Grid)ControlBar.Content;</span><br />
<span style="color:#000000;">    DockPanel ctrlBarDockPanel = (DockPanel)ctrlBarContent.Children[2];</span><br />
<span style="color:#000000;">    ContentControl ZoomSlider = (ContentControl)ctrlBarDockPanel.Children[2];</span><br />
<span style="color:#000000;">    ContentControl cc1 = (ContentControl)ZoomSlider.Content;</span><br />
//</span><br />
<span style="color:#008000;">// Build a list of the child controls</span><br />
<span style="color:#ffffff;"><span style="color:#000000;">    var ctrls = GetChildsRecursive(cc1);</span><br />
//</span><br />
<span style="color:#008000;">// Pick out controls and re-style as you wish </span><br />
<span style="color:#ffffff;"><span style="color:#000000;">    foreach (UIElement ctrl in ctrls)<br />
    {<br />
        string s = ctrl.GetType().ToString();<br />
        switch (s)<br />
        {<br />
            case &#8220;System.Windows.Controls.Button&#8221;:<br />
            Button b = (Button)ctrl;<br />
            b.Background = new SolidColorBrush(Colors.Orange);<br />
            break;<br />
        case &#8220;Microsoft.Pivot.Internal.Controls.ClickDragSlider&#8221;:<br />
            ClickDragSlider cds3 = (ClickDragSlider)ctrl;<br />
            cds3.Background = new SolidColorBrush(Colors.Green);<br />
            break;<br />
        default:<br />
            break;<br />
        }<br />
    }<br />
;</span><br />
</span></div>
<div style="font-size:x-small;border:#808080 1px solid;padding:8px;"><span style="color:#ffffff;"><span style="color:#008000;">// Helper function for child controls</span><br />
<span style="color:#000000;">IEnumerable&lt;DependencyObject&gt; GetChildsRecursive(DependencyObject root)<br />
{<br />
    List&lt;DependencyObject&gt; elts = new List&lt;DependencyObject&gt;();<br />
    elts.Add(root);<br />
    for (int i = 0; i &lt; VisualTreeHelper.GetChildrenCount(root); i++)<br />
        elts.AddRange(GetChildsRecursive(VisualTreeHelper.GetChild(root, i)));<br />
    return elts;<br />
}</span></span></div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">FAQ</div>
<div>If you want to try out the code there are a few things to watch out for.</div>
<div style="color:#ffffff;">+</div>
<div>You will need some internal Microsoft Pivot references and usings too. Depending upon the extent of your other customizations you will need these:</div>
<div style="color:#ffffff;">+</div>
<div style="font-size:x-small;border:#808080 1px solid;padding:8px;"><span style="color:#0000ff;">using</span> System.Windows.Pivot;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Controls;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Model;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.ViewModels;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Views;</div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">Further things to do</div>
<div>
<ul>
<li><a href="http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/">Xpert360 PivotViewer Blog Article Index</a></li>
<li>The code should be nicely wrapped up and encapsulated in the CustomPivotViewer override class.</li>
<li><a href="http://i2.silverlight.net/content/pivotviewer/developer-info/api/" target="_blank">PivotViewer Control &#8211; Public API</a></li>
<li><a href="http://forums.silverlight.net/forums/68.aspx" target="_blank">Microsoft Silverlight Forums &#8211; PivotViewer Control</a></li>
<li><a href="http://xpert360.com/default.htm" target="_blank">Xpert360 Ltd &#8211; who allow time for blogging</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">Conclusion</div>
<div>This article is a brief guide to locating some visual elements of the Silverlight PivotViewer control in order to customize the styling of the ZoomSlider control. It targets the developer who has already started customizing the Silverlight PivotViewer control beyond the public API.</div>
<div> </div>
<div>Any comments or request for future topics are welcome.</div>
<div> </div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/847/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=847&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/06/02/pivotviewer-shorts-part-4-restyle-the-zoomslider-child-controls/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/06/zoomsliderstyling.jpg" medium="image">
			<media:title type="html">PivotViewer ZoomSlider Re-Styling</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Phone Developer Tools 7.1 (Beta) install</title>
		<link>http://xpert360.wordpress.com/2011/05/24/windows-phone-developer-tools-7-1-beta-install/</link>
		<comments>http://xpert360.wordpress.com/2011/05/24/windows-phone-developer-tools-7-1-beta-install/#comments</comments>
		<pubDate>Tue, 24 May 2011 16:27:30 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[AppHub]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Mango]]></category>
		<category><![CDATA[Marketplace]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SL4]]></category>
		<category><![CDATA[WindowsPhone7]]></category>
		<category><![CDATA[WP7]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[mango]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=805</guid>
		<description><![CDATA[Article with guidance regarding installation of Windows Phone Developer Tools 7.1 (Beta) <a href="http://xpert360.wordpress.com/2011/05/24/windows-phone-developer-tools-7-1-beta-install/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=805&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="color:#000080;font-size:small;"><span style="color:#00ccff;">[Updated 25-May-2011]</span></p>
<div style="color:#000080;font-size:x-large;">Introduction</div>
<div>The beta of the &#8216;Mango&#8217; Windows Phone Developer Tools 7.1 is ready for download here: <a title="Mango!" href="http://go.microsoft.com/fwlink/?LinkId=213054" target="_blank">vm_web2.exe</a> (the installer). I thought it would appear here <a title="App Hub Downloads" href="http://create.msdn.com/en-us/resources/downloads" target="_blank">App Hub Downloads</a> but apparently not so far <span style="color:#00ccff;">[UPDATE: download page has been refreshed]</span>. If you have not done so you will also want to register here <a title="App Hub" href="http://create.msdn.com/en-US/" target="_blank">App Hub</a>.</div>
<div> </div>
<div>Final release announced on all devices in the <span style="color:#ff6600;">Fall 2011</span>. Mango developer <span style="color:#ff6600;">devices to ship on July 19th</span>. We will track the progress in this blog article until the final release.</div>
<div> </div>
<div style="color:#000080;font-size:x-large;">Download and Install</div>
<div> </div>
<div>You will need to exit Visual Studio and Zune applications before the installation will proceed. The full download looks to be 491 MB. You will also need <a title="VS2010 SP1 download" href="http://go.microsoft.com/fwlink/?LinkId=209902" target="_blank">VS2010 SP1</a> just as for the <a title="Silverlight 5 Beta is available!" href="http://www.silverlight.net/getstarted/silverlight-5-beta/" target="_blank">Silverlight 5 Beta</a>.</div>
<div class="mceTemp mceIEcenter" style="text-align:left;">
<dl class="wp-caption aligncenter">
<dt class="wp-caption-dt"><a href="http://xpert360.files.wordpress.com/2011/05/install1.jpg"><img class="size-full wp-image-807" title="Windows Phone Developer Tools 7.1 (Beta)" src="http://xpert360.files.wordpress.com/2011/05/install1.jpg?w=500&#038;h=453" alt="Mango - Windows Phone Developer Tools 7.1 (Beta)" width="500" height="453" /></a></dt>
<dd class="wp-caption-dd">Windows Phone Developer Tools 7.1 (Beta) Mango!</dd>
</dl>
</div>
<p>Some of the consumer features:</p>
<ul>
<li>Smarter Apps &amp; Live Tiles</li>
<li>Groups</li>
<li>Local Scout</li>
<li>App Connect</li>
<li>Internet Explorer 9</li>
<li>Threads</li>
<li>Multi-tasking</li>
<li>People-centric pictures</li>
<li>Quick Cards</li>
<li>Enhanced Hubs
<p><div id="attachment_809" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/05/mangointernet1.jpg"><img class="size-full wp-image-809" title="Mango - Internet Beyond the browser" src="http://xpert360.files.wordpress.com/2011/05/mangointernet1.jpg?w=500&#038;h=342" alt="Mango - Internet Beyond the browser" width="500" height="342" /></a><p class="wp-caption-text">Mango - Internet Beyond the browser</p></div></li>
</ul>
<p> New API&#8217;s in Silverlight for Windows Phone OS 7.1 on <a title="WP OS 7.1 draft documentation for new API's" href="http://msdn.microsoft.com/en-us/library/hh237343(v=VS.96).aspx" target="_blank">MSDN Library</a> &#8211; its big, very big!</p>
<div style="color:#000080;font-size:x-large;">New Visual Studio Project Templates</div>
<div>
<p>Go open up VS2010 &#8216;New Project&#8217; and&#8230;</p>
<div id="attachment_818" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/05/silverlighttemplates.jpg"><img class="size-full wp-image-818" title="Silverlight for Windows Phone templates" src="http://xpert360.files.wordpress.com/2011/05/silverlighttemplates.jpg?w=500&#038;h=348" alt="Silverlight for Windows Phone templates" width="500" height="348" /></a><p class="wp-caption-text">Silverlight for Windows Phone templates</p></div>
<p> Also XNA&#8230;</p>
<div id="attachment_819" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/05/xnatemplates.jpg"><img class="size-full wp-image-819" title="XNA templates" src="http://xpert360.files.wordpress.com/2011/05/xnatemplates.jpg?w=500&#038;h=348" alt="XNA templates" width="500" height="348" /></a><p class="wp-caption-text">XNA templates</p></div>
</div>
<div style="color:#000080;font-size:x-large;">Emulator Language Support</div>
<div> </div>
<div>Full list is <a title="Windows Phone Language Options" href="http://msdn.microsoft.com/en-us/library/hh202918(v=VS.92).aspx" target="_blank">here</a>! Now that is a whole lot better than before.</div>
<div> </div>
<div>As promised, lots more display languages show up in the settings of the emulator, plenty more regional setting and system locales, at last&#8230;</div>
<div>
<div class="mceTemp mceIEcenter" style="text-align:left;">
<dl class="wp-caption aligncenter">
<dt class="wp-caption-dt"><a href="http://xpert360.files.wordpress.com/2011/05/displaylanguages.jpg"><img class="size-full wp-image-821" title="Mango Emulator Display Languages" src="http://xpert360.files.wordpress.com/2011/05/displaylanguages.jpg?w=500" alt="Mango Emulator Display Languages"   /></a></dt>
<dd class="wp-caption-dd">Mango Emulator Display Languages</dd>
</dl>
<p>Plenty more&#8230;</p>
</div>
<div class="mceTemp mceIEcenter">
<div class="mceTemp mceIEcenter" style="text-align:left;">
<dl class="wp-caption aligncenter">
<dt class="wp-caption-dt"><a href="http://xpert360.files.wordpress.com/2011/05/displaylanguages2.jpg"><img class="size-full wp-image-823" title="Many more display languages in Mango" src="http://xpert360.files.wordpress.com/2011/05/displaylanguages2.jpg?w=500" alt="Many more display languages in Mango"   /></a></dt>
<dd class="wp-caption-dd">Many more display languages in Mango</dd>
</dl>
<p>And here is an example of a warm Dutch welcome to the settings page Mango style&#8230; </p>
</div>
</div>
<div class="mceTemp mceIEcenter">
<div class="mceTemp mceIEcenter" style="text-align:left;">
<dl class="wp-caption aligncenter">
<dt class="wp-caption-dt"><a href="http://xpert360.files.wordpress.com/2011/05/wp7_settings_dutch.jpg"><img class="size-full wp-image-830" title="Windows Phone Settings in Dutch NL" src="http://xpert360.files.wordpress.com/2011/05/wp7_settings_dutch.jpg?w=500" alt="Windows Phone Settings in Dutch NL"   /></a></dt>
<dd class="wp-caption-dd">Windows Phone Settings in Dutch NL</dd>
</dl>
</div>
</div>
<div class="mceTemp mceIEcenter" style="text-align:left;"> And if you so desire here is IE9 in the emulator running Bing search under the chinese zh-MO system setting&#8230;</div>
<div class="mceTemp mceIEcenter" style="text-align:left;">
<div id="attachment_834" class="wp-caption aligncenter" style="width: 479px"><a href="http://xpert360.files.wordpress.com/2011/05/mango_ie9_zh-mo.jpg"><img class="size-full wp-image-834" title="WP7 Mango IE Bing Search in chinese zh-MO" src="http://xpert360.files.wordpress.com/2011/05/mango_ie9_zh-mo.jpg?w=500" alt="WP7 Mango IE Bing Search in chinese zh-MO"   /></a><p class="wp-caption-text">WP7 Mango IE Bing Search in chinese zh-MO apparently</p></div>
</div>
<div class="mceTemp mceIEcenter"> </div>
</div>
<div style="color:#000080;font-size:x-large;">Feedback</div>
<div>Good things&#8230;</div>
<ul>
<li>Makes NoDo look like Windows Phone V0.1 software</li>
<li>Wp Tools 7.0 and 7.1 work side by side <a title="Carry on WP7 dev while exploring Mango" href="http://twitpic.com/51z3mw" target="_blank">@mikehole</a></li>
<li>More app samples than you can shake a stick at</li>
<li>App Connect, Local Scout and Quick Cards &gt; location aware</li>
<li>Synergy between XNA and Silverlight in hybrid apps</li>
<li><a href="http://msdn.microsoft.com/en-us/library/hh202865(v=VS.92).aspx" target="_blank">Local Database for Windows Phone</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/hh202954(v=VS.92).aspx" target="_blank">Camera Applications for Windows Phone</a></li>
</ul>
<div> </div>
<div>Gotchas&#8230;</div>
<ul>
<li><a href="http://professionalaspnet.com/archive/2011/05/24/Internet-Explorer-Mobile-9-is-DOA-Without-Touch-Support.aspx" target="_blank">Internet Explorer Mobile 9 is DOA Without Touch Support</a></li>
<li>Exceptions with ReSharper 9?</li>
<li>Non-USA data for Local Scout?</li>
<li><a title="Debugging Xaml Data Bindings" href="http://xpert360.wordpress.com/2011/05/19/debugging-data-bindings-in-xaml-with-silverlight-4/" target="_blank">Debugging Xaml Data Bindings</a> &#8211; works for SL4/SL5 not phone</li>
<li>Checked French and saw some string resources not translated (yet) in settings!</li>
</ul>
<div> </div>
<div style="color:#000080;font-size:x-large;">Further things to do</div>
<p>We will update this blog article with news, bug details, resources links and feedback as it becomes available.</p>
<ul>
<li><a title="APP HUB News" href="http://create.msdn.com/en-US/news/WPDT_7.1_Beta" target="_blank">APP HUB News Details</a> </li>
<li>Follow on <a title="MSDN" href="http://msdn.microsoft.com/en-us/library/hh237343(v=VS.96).aspx" target="_blank">The Windows Phone Developer Blog</a></li>
<li>Update MSDN <a href="http://msdn.microsoft.com/en-us/library/ff402535(VS.92).aspx" target="_blank">Windows Phone Development</a></li>
<li><a title="MSDN" href="http://msdn.microsoft.com/en-us/library/hh237343(v=VS.96).aspx" target="_blank">MSDN documentation on New API&#8217;s</a></li>
<li><a title="MVVM Light Toolkit patch for WP7 Mango Beta" href="http://blog.galasoft.ch/archive/2011/05/24/mvvm-light-toolkit-patch-for-wp7-mango-beta.aspx" target="_blank">MVVM Light Toolkit patch</a> from Laurent Bugnion</li>
<li><a title="MSDN Windows Phone Internationalization" href="http://msdn.microsoft.com/en-us/library/hh202918(v=VS.92).aspx" target="_blank">Culture and Language Support</a> - MSDN</li>
<li><a href="http://xpert360.com/default.htm" target="_blank">Xpert360 Ltd &#8211; who allow time for blogging</a></li>
</ul>
<div style="color:#000080;font-size:x-large;">Conclusion</div>
<div>This article is a brief guide to download the &#8216;Mango&#8217; Microsoft Windoes Phone Developer Tools 7.1 (Beta) released on 24th May 2011.</div>
<div> </div>
<div>Any comments or request for future topics are welcome.</div>
<div> </div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/805/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=805&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/05/24/windows-phone-developer-tools-7-1-beta-install/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/install1.jpg" medium="image">
			<media:title type="html">Windows Phone Developer Tools 7.1 (Beta)</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/mangointernet1.jpg" medium="image">
			<media:title type="html">Mango - Internet Beyond the browser</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/silverlighttemplates.jpg" medium="image">
			<media:title type="html">Silverlight for Windows Phone templates</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/xnatemplates.jpg" medium="image">
			<media:title type="html">XNA templates</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/displaylanguages.jpg" medium="image">
			<media:title type="html">Mango Emulator Display Languages</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/displaylanguages2.jpg" medium="image">
			<media:title type="html">Many more display languages in Mango</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/wp7_settings_dutch.jpg" medium="image">
			<media:title type="html">Windows Phone Settings in Dutch NL</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/mango_ie9_zh-mo.jpg" medium="image">
			<media:title type="html">WP7 Mango IE Bing Search in chinese zh-MO</media:title>
		</media:content>
	</item>
		<item>
		<title>PivotViewer Shorts Part 2: Hide View and SortBy Buttons</title>
		<link>http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-2-hide-view-and-sortby-buttons/</link>
		<comments>http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-2-hide-view-and-sortby-buttons/#comments</comments>
		<pubDate>Thu, 19 May 2011 15:38:43 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Pivot]]></category>
		<category><![CDATA[PivotViewer]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SL4]]></category>
		<category><![CDATA[facet]]></category>
		<category><![CDATA[pivotviewer]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=721</guid>
		<description><![CDATA[Introduction By default the Silverlight PivotViewer control displays two view selection buttons and a sortby dropdown list of facet names. Some people have expressed a wish to hide these usually because they want to replace them and control the UX with custom elements. &#8230; <a href="http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-2-hide-view-and-sortby-buttons/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=721&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="color:#000080;font-size:x-large;">Introduction</div>
<div>By default the Silverlight PivotViewer control displays two view selection buttons and a sortby dropdown list of facet names.</div>
<div>Some people have expressed a wish to hide these usually because they want to replace them and control the UX with custom elements.</div>
<div> </div>
<div>This short post shows how to locate the UI element for the control bar and the child elements in order to alter their visibility.</div>
<div> </div>
<div style="color:#000080;font-size:x-large;">Locating the UI Elements</div>
<div>
<div>
<p>The flow of the code goes something like this:</p>
<ul>
<li>Locate the &#8220;PART_Container&#8221; in the tree. This is a Grid control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">CollectionViewerView</span> control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">ControlBarView</span> control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">DockPanel</span> containing the buttons.</li>
</ul>
</div>
<div style="border:solid 1px #808080;font-size:x-small;padding:8px;"><span style="color:#008000;">// Locate UI Elements</span><br />
<span style="color:#2b91af;">Grid</span><span style="color:#000000;"> partContainer = (</span><span style="color:#2b91af;">Grid</span><span style="color:#000000;">)this.GetTemplateChild(</span><span style="color:#a31515;">&#8220;PART_Container&#8221;</span><span style="color:#000000;">);</span><br />
<span style="color:#2b91af;">CollectionViewerView</span> CVV = (<span style="color:#2b91af;">CollectionViewerView</span><span style="color:#000000;">)(partContainer).Children[0]);</span><br />
<span style="color:#2b91af;">Grid</span> container = CVV.Content as <span style="color:#2b91af;">Grid</span><span style="color:#000000;">;</span><br />
<span style="color:#ffffff;">//</span><br />
<span style="color:#008000;">// For exposing the top control bar (title,views,sortby,slider)</span><br />
<span style="color:#2b91af;">ControlBarView</span> ControlBar = ((UIElement)container.Children[2]) as <span style="color:#2b91af;">ControlBarView</span><span style="color:#000000;">;</span><br />
<span style="color:#2b91af;">DockPanel</span> barDockPanel = (((<span style="color:#2b91af;">Grid</span>)ControlBar.Content).Children[2]) as <span style="color:#2b91af;">DockPanel</span><span style="color:#000000;">;</span><br />
<span style="color:#ffffff;">//</span><br />
<span style="color:#008000;">// Hide the controls</span><br />
<span style="color:#000000;">barDockPanel.Children[0].Visibility = Visibility.Collapsed; </span><span style="color:#008000;">// sortby list</span><br />
<span style="color:#000000;">barDockPanel.Children[1].Visibility = Visibility.Collapsed; </span><span style="color:#008000;">// view buttons</span></div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">FAQ</div>
<div>If you want to try out the code there are a few things to watch out for. You will probably want to hide the controls when the collection event <span style="color:#2b91af;">CollectionLoadingCompleted</span> fires.</div>
<div style="color:#ffffff;">+</div>
<div>You will need some internal Microsoft Pivot references and usings too. Depending upon the extent of your other customizations you will need these:</div>
<div style="color:#ffffff;">+</div>
<div style="border:solid 1px #808080;font-size:x-small;padding:8px;"><span style="color:#0000ff;">using</span> System.Windows.Pivot;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Controls;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Model;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.ViewModels;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Views;</div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">Further things to do</div>
<div>
<ul>
<li><a href="http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/">Xpert360 PivotViewer Blog Article Index</a></li>
<li>The code should be nicely wrapped up and encapsulated in the CustomPivotViewer override class.</li>
<li><a href="http://i2.silverlight.net/content/pivotviewer/developer-info/api/" target="_blank">PivotViewer Control &#8211; Public API</a></li>
<li><a href="http://forums.silverlight.net/forums/68.aspx" target="_blank">Microsoft Silverlight Forums &#8211; PivotViewer Control</a></li>
<li><a href="http://xpert360.com/default.htm" target="_blank">Xpert360 Ltd &#8211; who allow time for blogging</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">Conclusion</div>
<div>This article is a brief guide to locating some visual elements of the Silverlight PivotViewer control in order to hide the view buttons and sortby facet list. It targets the developer who has already started customizing the Silverlight PivotViewer control beyond the public API and alter the UX.</div>
<div> </div>
<div>Any comments or request for future topics are welcome.</div>
<div> </div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/721/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=721&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-2-hide-view-and-sortby-buttons/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>
	</item>
		<item>
		<title>PivotViewer Shorts Part 1: Hide Filter Pane Search Box</title>
		<link>http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-1-hide-filter-pane-search-box/</link>
		<comments>http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-1-hide-filter-pane-search-box/#comments</comments>
		<pubDate>Thu, 19 May 2011 15:01:23 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Pivot]]></category>
		<category><![CDATA[PivotViewer]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SL4]]></category>
		<category><![CDATA[facet]]></category>
		<category><![CDATA[filterpane]]></category>
		<category><![CDATA[pivotviewer]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=719</guid>
		<description><![CDATA[Brief guide to hiding the Silverlight PivotViewer control's automatically generated search facet <a href="http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-1-hide-filter-pane-search-box/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=719&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="color:#000080;font-size:x-large;">Introduction</div>
<div>By default the Silverlight PivotViewer control automatically adds a search facet and displays a search box at the top of the filter pane. Some people have expressed a wish to modify the UX and remove this to prevent users performing free text search for some collections.</div>
<div> </div>
<div>This short post shows how to locate the UI element for the search facet and then alter its visibility.</div>
<div> </div>
<div style="color:#000080;font-size:x-large;">Locating the UI Elements</div>
<div>
<div>
<p>The flow of the code goes something like this:</p>
<ul>
<li>Locate the &#8220;PART_Container&#8221; in the tree. This is a Grid control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">CollectionViewerView</span> control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">FilterPaneView</span> to access the child controls.</li>
</ul>
</div>
<div style="border:solid 1px #808080;font-size:x-small;padding:8px;"><span style="color:#008000;">// Locate UI Elements</span><br />
<span style="color:#2b91af;">Grid</span><span style="color:#000000;"> partContainer = (</span><span style="color:#2b91af;">Grid</span><span style="color:#000000;">)this.GetTemplateChild(</span><span style="color:#a31515;">&#8220;PART_Container&#8221;</span><span style="color:#000000;">);</span><br />
<span style="color:#2b91af;">CollectionViewerView</span> CVV = (<span style="color:#2b91af;">CollectionViewerView</span><span style="color:#000000;">)(partContainer).Children[0]);</span><br />
<span style="color:#2b91af;">FilterPaneView</span><span style="color:#000000;"> FPV = (</span><span style="color:#2b91af;">FilterPaneView</span><span style="color:#000000;">)CVV.FindName(</span><span style="color:#a31515;">&#8220;PART_FilterPane&#8221;</span><span style="color:#000000;">);</span><br />
<span style="color:#ffffff;">//</span><br />
<span style="color:#008000;">// For exposing the grid containing the search facet UI elements</span><br />
<span style="color:#2b91af;">ContentControl</span> searchFacetGrid = (ContentControl)FPV.FindName(<span style="color:#a31515;">&#8220;m_searchFacetGrid&#8221;</span><span style="color:#000000;">);</span><br />
<span style="color:#ffffff;">//</span><br />
<span style="color:#008000;">// Hide search facet</span><br />
<span style="color:#000000;">searchFacetGrid.Visibility = Visibility.Collapsed;</span></div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">FAQ</div>
<div>You will need some internal Microsoft Pivot references and using&#8217;s too. Depending upon the extent of your other customizations you will need these:</div>
<div style="color:#ffffff;">+</div>
<div style="border:solid 1px #808080;font-size:x-small;padding:8px;"><span style="color:#0000ff;">using</span> System.Windows.Pivot;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Controls;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Model;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.ViewModels;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Views;</div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">Further things to do</div>
<div>
<ul>
<li><a href="http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/">Xpert360 PivotViewer Blog Article Index</a></li>
<li>The code should be nicely wrapped up and encapsulated in the CustomPivotViewer override class.</li>
<li><a href="http://i2.silverlight.net/content/pivotviewer/developer-info/api/" target="_blank">PivotViewer Control &#8211; Public API</a></li>
<li><a href="http://forums.silverlight.net/forums/68.aspx" target="_blank">Microsoft Silverlight Forums &#8211; PivotViewer Control</a></li>
<li><a href="http://xpert360.com/default.htm" target="_blank">Xpert360 Ltd &#8211; who allow time for blogging</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">Conclusion</div>
<div>This article is a brief guide to locating some visual elements of the Silverlight PivotViewer control in order to hide the automatically generated search facet. It targets the developer who has already started customizing the Silverlight PivotViewer control beyond the public API.</div>
<div> </div>
<div>Any comments or request for future topics are welcome.</div>
<div> </div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/719/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=719&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-1-hide-filter-pane-search-box/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging Data Bindings in XAML with Silverlight 4</title>
		<link>http://xpert360.wordpress.com/2011/05/19/debugging-data-bindings-in-xaml-with-silverlight-4/</link>
		<comments>http://xpert360.wordpress.com/2011/05/19/debugging-data-bindings-in-xaml-with-silverlight-4/#comments</comments>
		<pubDate>Thu, 19 May 2011 11:55:55 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[MIX11]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SL4]]></category>
		<category><![CDATA[SL5]]></category>
		<category><![CDATA[Xpert360]]></category>
		<category><![CDATA[binding]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=783</guid>
		<description><![CDATA[Debugging XAML bindings in Silverlight 4 - Unexpected bonus of VS2010 SP1 and SL5 beta install <a href="http://xpert360.wordpress.com/2011/05/19/debugging-data-bindings-in-xaml-with-silverlight-4/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=783&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>[<span style="color:#1b8f41;">Last updated: 2011-05-24</span>]</div>
<div style="color:#000080;font-size:x-large;">Introduction</div>
<div>Yes, you read it correctly, Silverlight 4.</div>
<div> </div>
<div style="color:#000080;font-size:x-large;">How can I do that?</div>
<p>Simply install the VS2010 SP1 and Silverlight 5 Beta and you get the unexpected bonus of the XAML Parser supporting debugging your data bindings for your Silverlight 4 projects. As SL5 sits nicely in VS2010 SP1 with SL4 it is worth installing the beta just for this feature.</p>
<div id="attachment_784" class="wp-caption aligncenter" style="width: 510px"><a href="http://xpert360.files.wordpress.com/2011/05/sl4_xaml_binding.jpg"><img class="size-full wp-image-784" title="Debugging XAML Binding in Silverlight 4" src="http://xpert360.files.wordpress.com/2011/05/sl4_xaml_binding.jpg?w=500&#038;h=364" alt="Debugging XAML Binding in Silverlight 4" width="500" height="364" /></a><p class="wp-caption-text">Debugging XAML Binding in Silverlight 4 - bonus!</p></div>
<p>I was at the <a title="@SLUGUK Twitter Tag" href="http://twitter.com/#!/search?q=%23SLUGUK" target="_blank">@SLUGUK</a> meeting 18th May 2011, and as Mike Taulty pointed out for other &#8216;features&#8217;, it is difficult to know whether such things as this were introduced by the service pack or the beta as nobody seems to have stopped to check in the rush to get the SL5 beta working <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Checked against the NoDo Windows Phone 7 projects and it does not work, you can set a breakpoint but it cannot resolve the symbols. The new feature automatically creates the symbol names for you. I am optimistic that this feature will work with the Mango tooling to be released by end of May 2011 (that&#8217;s next week) <span style="color:#00ccff;">[UPDATE: Mango beta no Xaml debugging for now]</span>.</p>
<p>No point in re-documenting the feature so:</p>
<p>Mike Taulty&#8217;s Blog: <a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2011/04/28/silverlight-5-beta-rough-notes-debugging-data-binding.aspx" target="_blank">Silverlight 5 Beta Rough Notes &#8211; Debugging Data-Binding</a></p>
<p>Code Project: <a href="http://www.codeproject.com/KB/silverlight/XAMLDebuggingInSL5.aspx" target="_blank">Debugging Data Bindings in XAML with SIlverlight 5 Beta</a></p>
<div style="color:#000080;font-size:x-large;">Further things to do and resources </div>
<div>
<ul>
<li><a href="http://www.silverlight.net/learn/pivotviewer/" target="_blank">PivotViewer Home</a> &#8211; Microsoft Silverlight</li>
<li><a href="http://forums.silverlight.net/forums/68.aspx" target="_blank">Microsoft Silverlight Forums &#8211; PivotViewer Control</a></li>
<li><a href="http://xpert360.com/default.htm" target="_blank">Xpert360 Ltd &#8211; who allow time for blogging</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">Conclusion</div>
<div>This article shows a nice side-effect encountered for Silverlight 5 projects after installing the Silverlight 5 Beta. Whether it is intended or here to stay we will have to wait and see but it has already proved to be a fantastic ROI.</div>
<div> </div>
<div>Any comments or request for future topics are welcome.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/783/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=783&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/05/19/debugging-data-bindings-in-xaml-with-silverlight-4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:thumbnail url="http://xpert360.files.wordpress.com/2011/05/sl4_xaml_binding.jpg?w=150" />
		<media:content url="http://xpert360.files.wordpress.com/2011/05/sl4_xaml_binding.jpg?w=150" medium="image">
			<media:title type="html">Debugging XAML Binding in Silverlight 4</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>

		<media:content url="http://xpert360.files.wordpress.com/2011/05/sl4_xaml_binding.jpg" medium="image">
			<media:title type="html">Debugging XAML Binding in Silverlight 4</media:title>
		</media:content>
	</item>
		<item>
		<title>PivotViewer Shorts Part 3: Hide Collection path</title>
		<link>http://xpert360.wordpress.com/2011/05/17/pivotviewer-shorts-part-3-hide-collection-path/</link>
		<comments>http://xpert360.wordpress.com/2011/05/17/pivotviewer-shorts-part-3-hide-collection-path/#comments</comments>
		<pubDate>Tue, 17 May 2011 16:43:55 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[cxml]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Pivot]]></category>
		<category><![CDATA[PivotViewer]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SL4]]></category>
		<category><![CDATA[pivotviewer]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=761</guid>
		<description><![CDATA[Sample code to hide the CXML path displayed by the Silverlight PivotViewer whilst a collection is loading. <a href="http://xpert360.wordpress.com/2011/05/17/pivotviewer-shorts-part-3-hide-collection-path/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=761&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="color:#000080;font-size:x-large;">Introduction</div>
<div>By default the SL4 PivotViewer control displays the path to the collection CXML file whilst it is being loaded. Many people have expressed a wish to hide the path.</div>
<div> </div>
<div>This short post shows how to locate the UI element for the collection title and then alter its visibility.</div>
<div> </div>
<div style="color:#000080;font-size:x-large;">Locating the UI Elements</div>
<div>
<div>
<p>The flow of the code goes something like this:</p>
<ul>
<li>Locate the &#8220;PART_Container&#8221; in the tree. This is a Grid control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">CollectionViewerView</span> control.</li>
<li>Locate the <span style="color:#2b91af;font-weight:bold;">ControlBarView</span> to access the child controls.</li>
</ul>
</div>
<div style="border:solid 1px #808080;font-size:x-small;padding:8px;"><span style="color:#008000;">// Locate UI Elements</span><br />
<span style="color:#2b91af;">Grid</span><span style="color:#000000;"> partContainer = (</span><span style="color:#2b91af;">Grid</span><span style="color:#000000;">)this.GetTemplateChild(</span><span style="color:#a31515;">&#8220;PART_Container&#8221;</span><span style="color:#000000;">);</span><br />
<span style="color:#2b91af;">CollectionViewerView</span> CVV = (<span style="color:#2b91af;">CollectionViewerView</span><span style="color:#000000;">)(partContainer).Children[0]);</span><br />
<span style="color:#2b91af;">Grid</span> container = CVV.Content as <span style="color:#2b91af;">Grid</span><span style="color:#000000;">;</span><br />
<span style="color:#ffffff;">//</span><br />
<span style="color:#008000;">// For exposing the top control bar (title,views,sortby,slider)</span><br />
<span style="color:#2b91af;">ControlBarView</span> ControlBar = ((UIElement)container.Children[2]) as <span style="color:#2b91af;">ControlBarView</span><span style="color:#000000;">;</span><br />
<span style="color:#ffffff;">//</span><br />
<span style="color:#008000;">// Hide collection name</span><br />
<span style="color:#000000;">((</span><span style="color:#2b91af;">Grid</span><span style="color:#000000;">)ControlBar.Content).Children[1].Visibility = Visibility.Collapsed;</span></div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">FAQ</div>
<div>If you want to try out the code there are a few things to watch out for. You will probably want to make the title visible again when the collection event <span style="color:#2b91af;">CollectionLoadingCompleted</span> fires.</div>
<div style="color:#ffffff;">+</div>
<div>You will need some internal Microsoft Pivot references and usings too. Depending upon the extent of your other customizations you will need these:</div>
<div style="color:#ffffff;">+</div>
<div style="border:solid 1px #808080;font-size:x-small;padding:8px;"><span style="color:#0000ff;">using</span> System.Windows.Pivot;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Controls;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Model;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.ViewModels;<br />
<span style="color:#0000ff;">using</span> Microsoft.Pivot.Internal.Views;</div>
<div style="color:#ffffff;">+</div>
<div style="color:#000080;font-size:x-large;">Further things to do</div>
<div>
<ul>
<li><a href="http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/">Xpert360 PivotViewer Blog Article Index</a></li>
<li>The code should be nicely wrapped up and encapsulated in the CustomPivotViewer override class.</li>
<li><a href="http://i2.silverlight.net/content/pivotviewer/developer-info/api/" target="_blank">PivotViewer Control &#8211; Public API</a></li>
<li><a href="http://forums.silverlight.net/forums/68.aspx" target="_blank">Microsoft Silverlight Forums &#8211; PivotViewer Control</a></li>
<li><a href="http://xpert360.com/default.htm" target="_blank">Xpert360 Ltd &#8211; who allow time for blogging</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">Conclusion</div>
<div>This article is a brief guide to locating some visual elements of the Silverlight PivotViewer control in order to hide the CXML path during collection loading. It targets the developer who has already started customizing the Silverlight PivotViewer control beyond the public API.</div>
<div> </div>
<div>Any comments or request for future topics are welcome.</div>
<div> </div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/761/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=761&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/05/17/pivotviewer-shorts-part-3-hide-collection-path/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>
	</item>
		<item>
		<title>Xpert360 PivotViewer Blog Article Index</title>
		<link>http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/</link>
		<comments>http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/#comments</comments>
		<pubDate>Tue, 17 May 2011 15:36:56 +0000</pubDate>
		<dc:creator>xpert360</dc:creator>
				<category><![CDATA[AppHub]]></category>
		<category><![CDATA[cxml]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[MIX11]]></category>
		<category><![CDATA[pdc10]]></category>
		<category><![CDATA[Pivot]]></category>
		<category><![CDATA[PivotViewer]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SL4]]></category>
		<category><![CDATA[SL5]]></category>
		<category><![CDATA[Wp7AppHub]]></category>
		<category><![CDATA[Xpert360]]></category>
		<category><![CDATA[pivotviewer]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[WP7]]></category>
		<category><![CDATA[WP7AppHub]]></category>

		<guid isPermaLink="false">http://xpert360.wordpress.com/?p=763</guid>
		<description><![CDATA[[Last updated: 2011-06-22] Introduction This post is intended to be a landing place to bring together links to our growing collection of PivotViewer articles in one place. We will update this article to reflect new blog posts and other useful links. If &#8230; <a href="http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=763&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>[<span style="color:#1b8f41;">Last updated: 2011-06-22</span>]</div>
<div style="color:#000080;font-size:x-large;">Introduction</div>
<div>This post is intended to be a landing place to bring together links to our growing collection of PivotViewer articles in one place. We will update this article to reflect new blog posts and other useful links.</div>
<div>If you are not familiar with overriding the <span style="color:#2b91af;">Silverlight PivotViewer</span> control&#8217;s OnApplyTemplate() method then I recommend taking the time to work through the posts in the <span style="color:#2b91af;">&#8216;Adventures with PivotViewer&#8217;</span> series and build up your portfolio of customization skills.</div>
<div>These articles are based on the version of the control shipped separately from the <span style="color:#2b91af;">Silverlight 4 SDK</span>. We will update and extend articles with information relevant to <span style="color:#2b91af;">Silverlight 5 SDK</span> as they become available. If you are already customizing your PivotViewer experience then dive right in:</div>
<div style="color:#000080;font-size:x-large;">Adventures with PivotViewer</div>
<div>
<ul>
<li><a href="http://xpert360.wordpress.com/2010/10/20/adventures-with-pivotviewer-part-1/">Part 1: Background work</a></li>
<li><a href="http://xpert360.wordpress.com/2010/10/22/adventures-with-pivotviewer-part-2-themes-and-integrated-datagrid/">Part 2: Themes and Integrated DataGrid</a></li>
<li><a href="http://xpert360.wordpress.com/2010/10/26/adventures-with-pivotviewer-part-3-localization/">Part 3: Localization</a></li>
<li><a href="http://xpert360.wordpress.com/2010/10/27/adventures-with-pivotviewer-part-4-augmented-pdc10-reality-pivot-the-agenda/">Part 4: Augmented PDC10 reality – pivot the agenda</a></li>
<li><a href="http://xpert360.wordpress.com/2010/11/11/adventures-with-pivotviewer-part-5-pimp-my-pivotviewer/">Part 5: Pimp my PivotViewer</a></li>
<li><a href="http://xpert360.wordpress.com/2010/11/13/adventures-with-pivotviewer-part-6-pimp-it-sample-code/">Part 6: Pimp it sample code</a></li>
<li><a href="http://xpert360.wordpress.com/2010/12/02/adventures-with-pivotviewer-part-7-slider-control/">Part 7: Slider control</a></li>
<li><a href="http://xpert360.wordpress.com/2011/01/20/adventures-with-pivotviewer-part-8-filter-pane-tooltips/">Part 8: Filter pane tooltips</a></li>
<li><a href="http://xpert360.wordpress.com/2011/05/10/adventures-with-pivotviewer-part-9-multi-layered-trading-cards/">Part 9: Multi-Layered Trading Cards tooltips</a></li>
<li><a title="Adventures with PivotViewer Part 10" href="http://xpert360.wordpress.com/2011/05/12/adventures-with-pivotviewer-part-10-lets-do-the-timelapse-warp/">Part 10: Let&#8217;s do the Timelapse Warp</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">PivotViewer Shorts</div>
<div>
<ul>
<li><a href="http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-1-hide-filter-pane-search-box/">Part 1: Hide Filter Pane Search Box</a></li>
<li><a href="http://xpert360.wordpress.com/2011/05/19/pivotviewer-shorts-part-2-hide-view-and-sortby-buttons/">Part 2: Hide View and SortBy Buttons</a></li>
<li><a title="Hide the path to your collections" href="http://xpert360.wordpress.com/2011/05/17/pivotviewer-shorts-part-3-hide-collection-path/">Part 3: Hide Collection Path</a></li>
<li><a title="Access the elements of the ZoomSlider control and re-style them" href="http://xpert360.wordpress.com/2011/06/02/pivotviewer-shorts-part-4-restyle-the-zoomslider-child-controls/">Part 4 Restyle the ZoomSlider child controls</a></li>
<li><a href="http://xpert360.wordpress.com/2011/06/22/pivotviewer-shorts-part-5-invert-facet-category-selections/">Part 5: Invert the Facet Category Selection</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">PivotViewer Miscellaneous</div>
<div>
<ul>
<li><a href="http://xpert360.wordpress.com/2011/01/12/visualization-of-the-windows-phone-7-marketplace-with-pivotviewer/">Visualization of the Windows Phone 7 Marketplace with PivotViewer</a></li>
<li><a href="http://xpert360.wordpress.com/2011/04/21/pivotviewer-in-silverlight-5-sdk/">PivotViewer vNext in Silverlight 5 SDK</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">Examples on the Internet</div>
<ul>
<li><a href="http://www.molbiol.ox.ac.uk/data/biopivot/tutorial.shtml" target="_blank">BioPivot</a> &#8211; University of Oxford, UK</li>
<li><a href="http://research.microsoft.com/en-us/um/people/bibuxton/buxtoncollection/pivot.htm" target="_blank">Buxton Collection</a> &#8211; Bill Buxton&#8217;s UX devices</li>
<li><a href="http://www.classiccardboard.com/" target="_blank">Classic Cardboard</a> &#8211; ProjectVerona</li>
<li><a title="http://www.blackcaps.co.nz/vault/" href="http://www.blackcaps.co.nz/vault/" target="_blank">Cricket Video Vault</a> &#8211; Blackcaps</li>
<li><a href="http://pivot.lobsterpot.com.au/flickr" target="_blank">Flickr Demo</a> &#8211; LobsterPot</li>
<li><a title="Good Coffee Good Code Blog" href="http://goodcoffeegoodcode.blogspot.com/" target="_blank">Good Coffee Good Code</a> &#8211; Chris Arnold</li>
<ul>
<li><a href="http://percollate.com/" target="_blank">percollate</a> &#8211; social media dashboard</li>
<li><a title="PhotoPivot" href="http://photopivot.com/" target="_blank">PhotoPivot</a> &#8211; organize your photo collection</li>
<li><a title="pivot the twitterverse" href="http://tweetpivot.com/" target="_blank">tweetpivot</a> &#8211; pivot the twitterverse</li>
</ul>
<li><a href="http://www.microsoft.com/bi/en-us/Solutions/Pages/Customers.aspx" target="_blank">Microsoft BI Customers</a> &#8211; BI &gt; Solutions &gt; Customers</li>
<li><a href="http://mvpchat.championds.com/" target="_blank">MVPChat</a> &#8211; MVP Twitter Threads</li>
<li><a href="http://netflixpivot.cloudapp.net/" target="_blank">Netflix</a> instant watch movies+ &#8211; Windows Azure Team</li>
<li><a href="http://www.microsoft.com/silverlight/pivotviewer/" target="_blank">PivotViewer Interactive Demos</a> &#8211; Official Microsoft Silverlight</li>
<ul>
<li><a href="http://www.352media.com/silverlight/pivotviewer/demos/fourthcoffee/" target="_blank">Fourth Coffee</a></li>
<li><a href="http://www.352media.com/silverlight/pivotviewer/demos/endangered/endangered-species.aspx" target="_blank">Endangered Species</a></li>
<li><a href="http://www.352media.com/silverlight/pivotviewer/demos/newcars/newcars.aspx" target="_blank">New Cars</a></li>
<li><a href="http://www.352media.com/silverlight/pivotviewer/demos/worldleaders/worldleaders.aspx" target="_blank">World Leaders</a></li>
</ul>
<li><a href="http://gis.team.sdsc.edu/teamimages/" target="_blank">The TEAM Project</a> &#8211; UCSD and Conservation International</li>
<li><a href="http://www.wssdemo.com/livepivot/" target="_blank">Top SharePoint Internet Sites</a> &#8211; WSSDEMO</li>
<li>Windows Phone 7 Marketplace</li>
<ul>
<li><a href="http://www.wp7apphub.com/" target="_blank">WP7 App Hub</a></li>
</ul>
</ul>
<div style="color:#000080;font-size:x-large;">Further things to do and resources</div>
<div>
<ul>
<li><a href="http://www.silverlight.net/learn/pivotviewer/" target="_blank">PivotViewer Home</a> &#8211; Microsoft Silverlight</li>
<li><a href="http://i2.silverlight.net/content/pivotviewer/developer-info/api/" target="_blank">PivotViewer Control &#8211; Public API</a></li>
<li><a href="http://www.silverlight.net/learn/pivotviewer/just-in-time-sample-code/" target="_blank">Sample Code for JIT PivotViewer Collections</a></li>
<li><a href="http://research.microsoft.com/en-us/downloads/dd4a479f-92d6-496f-867d-666c87fbaada/default.aspx" target="_blank">Download Pivot Application</a> &#8211; Microsoft Research</li>
<li><a href="http://forums.silverlight.net/forums/68.aspx" target="_blank">Microsoft Silverlight Forums &#8211; PivotViewer Control</a></li>
<li><a href="http://pivotviewerlessons.codeplex.com/" target="_blank">MVP Tony Champion tutorials</a></li>
<li><a href="http://xpert360.com/default.htm" target="_blank">Xpert360 Ltd &#8211; who allow time for blogging</a></li>
</ul>
</div>
<div style="color:#000080;font-size:x-large;">Conclusion</div>
<div>This article is an anchor page to our blog articles concerning the Silverlight PivotViewer control. There are a range of articles topics and technical levels. Some target the developer who is ready to start customizing the Silverlight PivotViewer control beyond the documented public API, whilst others show examples of what can be achieved.</div>
<div>Any comments or request for future topics are welcome.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xpert360.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xpert360.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xpert360.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xpert360.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xpert360.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xpert360.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xpert360.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xpert360.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xpert360.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xpert360.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xpert360.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xpert360.wordpress.com/763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xpert360.wordpress.com/763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xpert360.wordpress.com/763/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xpert360.wordpress.com&amp;blog=10301115&amp;post=763&amp;subd=xpert360&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xpert360.wordpress.com/2011/05/17/xpert360-pivotviewer-blog-article-index/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:thumbnail url="http://xpert360.files.wordpress.com/2011/05/productcatalog1.jpg?w=150" />
		<media:content url="http://xpert360.files.wordpress.com/2011/05/productcatalog1.jpg?w=150" medium="image">
			<media:title type="html">Silverlight PivotViewer Product Catalogue collection</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/916ab765499dfa95ddc74de1b14a816e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xpert360</media:title>
		</media:content>
	</item>
	</channel>
</rss>
