Skip to content

Fingann/MaterialMaLightTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaterialMaLightTemplate

MVVM light, Mahapps, MaterialDesign, Notification, Navigation

Main Page

NotificationsService

Notifications are based on https://github.com/Federerer/Notifications.Wpf

To create notifications use the following Interface To create notifications inside the application use

areaName = "WindowArea"

To create notifications outside the application use

areaName = ""

NavigationService

Notifications are used by initialising a INavigationService with a NavigationService If you navigate to a view you need to define it in MainWindow.Xaml as a datatemplate under Window.Resources like this:

<DataTemplate DataType="{x:Type viewModels:MainPageViewModel}">
  <views:MainPageView/>
</DataTemplate>

To navigate to the MainPageView you can now call NavigateTo with the view model class name like this:

NavigationService.NavigateTo("MainPageViewModel")

About

MVVM light, Mahapps, MaterialDesign, Notification, Navigation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages