RGBController/RGBController2/App.xaml

20 lines
925 B
XML

<Application x:Class="RGBController2.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:RGBController2"
xmlns:views="clr-namespace:RGBController2.Views.LightingModes"
xmlns:viewmodels="clr-namespace:RGBController2.ViewModels.LightingModes"
StartupUri="Views/MainWindow.xaml">
<Application.Resources>
<DataTemplate DataType="{x:Type viewmodels:InformationViewModel}">
<views:InformationView/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewmodels:StaticViewModel}">
<views:StaticView/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewmodels:AnimationViewModel}">
<views:AnimationView/>
</DataTemplate>
</Application.Resources>
</Application>