Skip to content

Instantly share code, notes, and snippets.

@4E71
Created January 16, 2012 19:08
Show Gist options
  • Save 4E71/1622417 to your computer and use it in GitHub Desktop.
Save 4E71/1622417 to your computer and use it in GitHub Desktop.
Silverlight: Getting started with SL5 PivotViewer
// Add reference to project
System.Windows.Controls.Pivot
// Create a Silverlight User Control and add the following namespace
xmlns:pivot="clr-namespace:System.Windows.Controls.Pivot;assembly=System.Windows.Controls.Pivot"
// Add PivotViewer control to page
<Grid x:Name="LayoutRoot" Background="White">
<pivot:PivotViewer x:Name="pivotViewer1">
<pivot:PivotViewer.PivotProperties>
</pivot:PivotViewer.PivotProperties>
</pivot:PivotViewer>
</Grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment