-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDataTemplates.xaml
37 lines (35 loc) · 2.11 KB
/
DataTemplates.xaml
1
2
3
4
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
35
36
37
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:viewmodels="clr-namespace:StoreManagementSystemX.ViewModels"
xmlns:views="clr-namespace:StoreManagementSystemX.Views"
xmlns:productViewModels="clr-namespace:StoreManagementSystemX.ViewModels.Products"
xmlns:userViewModels="clr-namespace:StoreManagementSystemX.ViewModels.Users"
xmlns:transactionViewModels="clr-namespace:StoreManagementSystemX.ViewModels.Transactions"
xmlns:stockPurchaseViewModels="clr-namespace:StoreManagementSystemX.ViewModels.StockPurchases"
xmlns:productViews="clr-namespace:StoreManagementSystemX.Views.Products"
xmlns:userViews="clr-namespace:StoreManagementSystemX.Views.Users"
xmlns:transactionViews="clr-namespace:StoreManagementSystemX.Views.Transactions"
xmlns:stockPurchaseViews="clr-namespace:StoreManagementSystemX.Views.StockPurchases"
>
<DataTemplate DataType="{x:Type viewmodels:LoginViewModel}">
<views:LoginView />
</DataTemplate>
<DataTemplate DataType="{x:Type viewmodels:DashboardViewModel}">
<views:DashboardView />
</DataTemplate>
<DataTemplate DataType="{x:Type productViewModels:InventoryViewModel}">
<productViews:InventoryView />
</DataTemplate>
<DataTemplate DataType="{x:Type transactionViewModels:TransactionListViewModel}">
<transactionViews:TransactionListView />
</DataTemplate>
<DataTemplate DataType="{x:Type userViewModels:UserListViewModel}">
<userViews:UserListView />
</DataTemplate>
<DataTemplate DataType="{x:Type transactionViewModels:PayLaterTransactionsViewModel}">
<transactionViews:PayLaterTransactionsView />
</DataTemplate>
<DataTemplate DataType="{x:Type stockPurchaseViewModels:StockPurchaseListViewModel}">
<stockPurchaseViews:StockPurchasesListView />
</DataTemplate>
</ResourceDictionary>