27 lines
1.3 KiB
XML
27 lines
1.3 KiB
XML
<base:BaseView x:Class="DTS.Viewer.Navigation.View.NavigationItem"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:base="clr-namespace:DTS.Common.Base;assembly=DTS.Common"
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:controls="clr-namespace:DTS.Common.Controls;assembly=DTS.Common">
|
|
<base:BaseView.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="../Resources/styles.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</base:BaseView.Resources>
|
|
<StackPanel>
|
|
<controls:RoundedBox >
|
|
<!-- ReSharper disable once Xaml.StaticResourceNotResolved -->
|
|
<Button Width="200" Height="30" Background="White" Content="This is button" Style="{StaticResource NavigationButtonStyle}">
|
|
<i:Interaction.Triggers>
|
|
<i:EventTrigger EventName="Click">
|
|
<i:InvokeCommandAction Command="{Binding ClickedCommand}" />
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</Button>
|
|
</controls:RoundedBox>
|
|
</StackPanel>
|
|
</base:BaseView>
|