├── App.xaml
├── App.xaml.cs
├── Fonts
├── Rubik-Medium.ttf
└── Rubik-Regular.ttf
├── Images
├── customer_page.png
├── home_page.png
├── img_customer.png
├── img_home.png
├── img_order.png
├── img_product.png
├── img_setting.png
├── img_shipment.png
├── img_transaction.png
├── order_page.png
├── product_page.png
├── setting_page.png
├── shipment_page.png
├── shutdown_def.png
├── shutdown_mo.png
└── transaction_page.png
├── LICENSE
├── MainWindow.xaml
├── MainWindow.xaml.cs
├── Model
└── PageModel.cs
├── README.md
├── Source Code
└── Page Navigation App.rar
├── Styles
├── Button.xaml
├── Image.xaml
├── Page.xaml
└── Text.xaml
├── Utilities
├── Btn.cs
├── DataTemplate.xaml
├── RelayCommand.cs
└── ViewModelBase.cs
├── View
├── Customers.xaml
├── Customers.xaml.cs
├── Home.xaml
├── Home.xaml.cs
├── Orders.xaml
├── Orders.xaml.cs
├── Products.xaml
├── Products.xaml.cs
├── Settings.xaml
├── Settings.xaml.cs
├── Shipments.xaml
├── Shipments.xaml.cs
├── Transactions.xaml
└── Transactions.xaml.cs
└── ViewModel
├── CustomerVM.cs
├── HomeVM.cs
├── NavigationVM.cs
├── OrderVM.cs
├── ProductVM.cs
├── SettingVM.cs
├── ShipmentVM.cs
└── TransactionVM.cs
/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace Page_Navigation_App
10 | {
11 | ///
12 | /// Interaction logic for App.xaml
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Fonts/Rubik-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Fonts/Rubik-Medium.ttf
--------------------------------------------------------------------------------
/Fonts/Rubik-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Fonts/Rubik-Regular.ttf
--------------------------------------------------------------------------------
/Images/customer_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/customer_page.png
--------------------------------------------------------------------------------
/Images/home_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/home_page.png
--------------------------------------------------------------------------------
/Images/img_customer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/img_customer.png
--------------------------------------------------------------------------------
/Images/img_home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/img_home.png
--------------------------------------------------------------------------------
/Images/img_order.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/img_order.png
--------------------------------------------------------------------------------
/Images/img_product.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/img_product.png
--------------------------------------------------------------------------------
/Images/img_setting.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/img_setting.png
--------------------------------------------------------------------------------
/Images/img_shipment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/img_shipment.png
--------------------------------------------------------------------------------
/Images/img_transaction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/img_transaction.png
--------------------------------------------------------------------------------
/Images/order_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/order_page.png
--------------------------------------------------------------------------------
/Images/product_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/product_page.png
--------------------------------------------------------------------------------
/Images/setting_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/setting_page.png
--------------------------------------------------------------------------------
/Images/shipment_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/shipment_page.png
--------------------------------------------------------------------------------
/Images/shutdown_def.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/shutdown_def.png
--------------------------------------------------------------------------------
/Images/shutdown_mo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/shutdown_mo.png
--------------------------------------------------------------------------------
/Images/transaction_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Images/transaction_page.png
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Arun Mutharasu
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
47 |
48 |
50 |
51 |
53 |
54 |
55 |
56 |
59 |
60 |
61 |
62 |
64 |
65 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
76 |
77 |
78 |
79 |
81 |
82 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
93 |
94 |
95 |
96 |
98 |
99 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
110 |
111 |
112 |
113 |
115 |
116 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
127 |
128 |
129 |
130 |
132 |
133 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
144 |
145 |
146 |
147 |
149 |
150 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
161 |
162 |
163 |
164 |
166 |
167 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
182 |
183 |
184 |
185 |
186 |
187 |
190 |
191 |
192 |
193 |
194 |
--------------------------------------------------------------------------------
/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace Page_Navigation_App
17 | {
18 | ///
19 | /// Interaction logic for MainWindow.xaml
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 | private void CloseApp_Click(object sender, RoutedEventArgs e)
29 | {
30 | Close();
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Model/PageModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Page_Navigation_App.Model
8 | {
9 | public class PageModel
10 | {
11 | public int CustomerCount { get; set; }
12 | public string ProductStatus { get; set; }
13 | public DateOnly OrderDate { get; set; }
14 | public decimal TransactionValue { get; set; }
15 | public TimeOnly ShipmentDelivery { get; set; }
16 | public bool LocationStatus { get; set; }
17 |
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # WPF - Page Navigation using MVVM
2 |
3 | YouTube Video Tutorial Link : https://youtu.be/CkHyDYeImjY
4 |
5 | 
6 |
7 |
8 | Icon Credits : https://icons8.com/icons
9 |
10 | GitHub Account : https://github.com/CSharpDesignPro
11 |
--------------------------------------------------------------------------------
/Source Code/Page Navigation App.rar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSharpDesignPro/Page-Navigation-using-MVVM/a4c42a26c82bde793e6a83960f1534fb1956305e/Source Code/Page Navigation App.rar
--------------------------------------------------------------------------------
/Styles/Button.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
106 |
107 |
110 |
111 |
114 |
115 |
170 |
171 |
--------------------------------------------------------------------------------
/Styles/Image.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
21 |
22 |
--------------------------------------------------------------------------------
/Styles/Page.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
43 |
44 |
--------------------------------------------------------------------------------
/Styles/Text.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
21 |
22 |
--------------------------------------------------------------------------------
/Utilities/Btn.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 |
9 | namespace Page_Navigation_App.Utilities
10 | {
11 | public class Btn : RadioButton
12 | {
13 | static Btn()
14 | {
15 | DefaultStyleKeyProperty.OverrideMetadata(typeof(Btn), new FrameworkPropertyMetadata(typeof(Btn)));
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Utilities/DataTemplate.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Utilities/RelayCommand.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows.Input;
7 |
8 | namespace Page_Navigation_App.Utilities
9 | {
10 | class RelayCommand : ICommand
11 | {
12 | private readonly Action