view Chronosv2/source/Views/About.xaml.cs @ 21:dfc81f8bb838

working version for sttocks except ui within metrowpf
author adminsh@apollo
date Tue, 20 Mar 2012 15:07:31 +0000
parents 443821e55f06
children
line wrap: on
line source

using Chronos.Modules.Navigation;
using Chronos.Presentation.Core.ViewModel;
using Chronos.Presentation.Windows.Controls;
using Chronos.ViewModel;
using nRoute.Components.Composition;
using nRoute.Navigation.Mapping;
using nRoute.ViewModels;

namespace Chronos.Views
{
    /// <summary>
    /// Interaction logic for About.xaml
    /// </summary>
    [MapNavigationContent(NavigationRoutes.About)]
    [DefineViewViewModel(typeof(About), typeof(AboutViewModel))] 
    public partial class About : WindowElement
    {
        [ResolveConstructor]
        public About([ResolveViewModel(typeof(About))]INavigationViewModel viewModel)
        {
            InitializeComponent();

            this.DataContext = viewModel;
        }
    }
}