Add project files.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<UserControl
|
||||
x:Class="WeddingBooth.Views.NavigationView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<UserControl.Resources>
|
||||
<BindingProxy x:Key="BindingProxy" DataContext="{Binding}" />
|
||||
<BindingProxy x:Key="FlipViewProxy" DataContext="{Binding ElementName=FlipView}" />
|
||||
</UserControl.Resources>
|
||||
<FlipView
|
||||
x:Name="FlipView"
|
||||
ItemContainerTemplateSelector="{Binding TemplateSelector}"
|
||||
ItemsSource="{Binding}"
|
||||
UsesItemContainerTemplateSelector="True" />
|
||||
<Interaction.InteractiveFrame>
|
||||
<InteractiveFrame EventAggregator="{Binding Source={StaticResource BindingProxy}, Path=DataContext.EventAggregator}">
|
||||
<InteractiveFrameButton Invoked="{Invoke Previous, BindingTarget={Binding Source={StaticResource FlipViewProxy}, Path=DataContext}}" Placement="Left" />
|
||||
<InteractiveFrameButton Invoked="{Invoke Next, BindingTarget={Binding Source={StaticResource FlipViewProxy}, Path=DataContext}}" Placement="Right" />
|
||||
</InteractiveFrame>
|
||||
</Interaction.InteractiveFrame>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user