move Converter to Converters folder

This commit is contained in:
Nguyen Dinh Thuan
2024-09-21 06:44:26 +07:00
parent 20b5bb8cd1
commit c30007c15f
4 changed files with 7 additions and 4 deletions
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
using System.Windows.Controls; using System.Windows.Controls;
using System.Windows.Data; using System.Windows.Data;
namespace SafeBagDE70 namespace SafeBagDE70.Converters
{ {
public class LastItemIndexConverter : IMultiValueConverter public class LastItemIndexConverter : IMultiValueConverter
{ {
+2 -1
View File
@@ -4,6 +4,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:SafeBagDE70" xmlns:local="clr-namespace:SafeBagDE70"
xmlns:conv="clr-namespace:SafeBagDE70.Converters"
mc:Ignorable="d" mc:Ignorable="d"
Width="1280" Width="1280"
Height="1024" Height="1024"
@@ -11,7 +12,7 @@
Loaded="UserControl_Loaded" Loaded="UserControl_Loaded"
Unloaded="UserControl_Unloaded"> Unloaded="UserControl_Unloaded">
<UserControl.Resources> <UserControl.Resources>
<local:LastItemIndexConverter x:Key="LastItemIndexConverter" /> <conv:LastItemIndexConverter x:Key="LastItemIndexConverter" />
<DataTemplate x:Key="BoldTemplateWithSeparator"> <DataTemplate x:Key="BoldTemplateWithSeparator">
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
+2 -1
View File
@@ -4,6 +4,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:SafeBagDE70" xmlns:local="clr-namespace:SafeBagDE70"
xmlns:conv="clr-namespace:SafeBagDE70.Converters"
mc:Ignorable="d" mc:Ignorable="d"
Width="1280" Width="1280"
Height="1024" Height="1024"
@@ -11,7 +12,7 @@
Loaded="UserControl_Loaded" Loaded="UserControl_Loaded"
Unloaded="UserControl_Unloaded"> Unloaded="UserControl_Unloaded">
<UserControl.Resources> <UserControl.Resources>
<local:LastItemIndexConverter x:Key="LastItemIndexConverter" /> <conv:LastItemIndexConverter x:Key="LastItemIndexConverter" />
<DataTemplate x:Key="BoldTemplateWithSeparator"> <DataTemplate x:Key="BoldTemplateWithSeparator">
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
+2 -1
View File
@@ -4,6 +4,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:SafeBagDE70" xmlns:local="clr-namespace:SafeBagDE70"
xmlns:converter="clr-namespace:SafeBagDE70.Converters"
mc:Ignorable="d" mc:Ignorable="d"
Width="1280" Width="1280"
Height="1024" Height="1024"
@@ -11,7 +12,7 @@
Loaded="UserControl_Loaded" Loaded="UserControl_Loaded"
Unloaded="UserControl_Unloaded"> Unloaded="UserControl_Unloaded">
<UserControl.Resources> <UserControl.Resources>
<local:LastItemIndexConverter x:Key="LastItemIndexConverter" /> <converter:LastItemIndexConverter x:Key="LastItemIndexConverter" />
<DataTemplate x:Key="BoldTemplateWithSeparator"> <DataTemplate x:Key="BoldTemplateWithSeparator">
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>