I make a Silverlight host August 3, 2010
Posted by Toby77006 in PivotViewer.trackback
This was the easy part. I had downloaded the control at the beginning of all this from http://www.silverlight.net/learn/pivotviewer. You have to add references to 5 DLLS with names beginning System.Windows.Pivot, and make sure you have a namespace xmlns:pivot. If you get silly COM errors or “Child of another element” messages, just keep doing Build until they go away.
I chose to host the control in the regular TestPage.html rather than an aspx because I intended to locate it in Windows Azure Blob Storage. I created a simple header panel in xaml to sub for the “collection properties” which I grumbled about in my last post.
The only reason my program did not work first time was that I needed two very simple handlers for ItemDoubleClicked and LinkClicked events. Tim Heuer’s quickstart provided examples.
Comments»
No comments yet — be the first.