Newer
Older
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:viewModel="clr-namespace:HashingTool.ViewModel"
xmlns:views="clr-namespace:HashingTool.Views"
x:Class="HashingTool.MainWindow"
Title="VECTO Hashing Tool" Height="534" Width="665" MinWidth="600" MinHeight="500">
</Window.DataContext>
<Window.Resources>
<DataTemplate DataType="{x:Type viewModel:HomeViewModel}">
<views:HomeView />
</DataTemplate>
<DataTemplate DataType="{x:Type viewModel:HashComponentDataViewModel}">
<views:HashComponentData />
</DataTemplate>
<DataTemplate DataType="{x:Type viewModel:VerifyInputDataViewModel}">
<views:VerifyInputData />
</DataTemplate>
</Window.Resources>
<Grid Margin="10">
<ContentControl Content="{Binding CurrentViewModel}" />