This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<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>

View File

@@ -0,0 +1,15 @@
using DTS.Common.Base;
namespace DTS.Viewer.Navigation.View
{
/// <summary>
/// Interaction logic for NavigationItem.xaml
/// </summary>
public partial class NavigationItem : IBaseView
{
public NavigationItem()
{
InitializeComponent();
}
}
}

View File

@@ -0,0 +1,17 @@
<base:BaseView x:Class="DTS.Viewer.Navigation.NavigationView"
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:controls="clr-namespace:DTS.Common.Controls;assembly=DTS.Common">
<ContentControl x:Name="NavigationRegion" Background="LightGray">
<ContentControl.Template>
<ControlTemplate TargetType="ContentControl">
<Grid>
<controls:RoundedBox />
<Label>Navigation View</Label>
<ContentPresenter Content="{TemplateBinding Content}" />
</Grid>
</ControlTemplate>
</ContentControl.Template>
</ContentControl>
</base:BaseView>

View File

@@ -0,0 +1,15 @@
using DTS.Common.Interface;
namespace DTS.Viewer.Navigation
{
/// <summary>
/// Interaction logic for NavigationView.xaml
/// </summary>
public partial class NavigationView : INavigationView
{
public NavigationView()
{
InitializeComponent();
}
}
}