Skip to content

Instantly share code, notes, and snippets.

@nigel-sampson
Last active December 6, 2015 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nigel-sampson/e49bb93d75e452b65d08 to your computer and use it in GitHub Desktop.
Save nigel-sampson/e49bb93d75e452b65d08 to your computer and use it in GitHub Desktop.
UWP workaround
<Pivot ItemsSource="{Binding Items}"
SelectedItem="{Binding ActiveItem, Mode=TwoWay}"
HeaderTemplate="{StaticResource PivotHeaderTemplate}"
ItemContainerStyle="{StaticResource PivotItemContainerStyle}">
<Pivot.ItemTemplate>
<DataTemplate>
<ContentControl cm:View.Model="{Binding}"/>
</DataTemplate>
</Pivot.ItemTemplate>
</Pivot>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment