Samples that demonstrate how to use various Prism features with WPF
Switch branches/tags
Nothing to show
Clone or download
Latest commit b9691e8 Sep 19, 2018
Permalink
Failed to load latest commit information.
01-BootstrapperShell renamed folders to have them align better on github Jan 13, 2018
02-Regions renamed folders to have them align better on github Jan 13, 2018
03-CustomRegions renamed folders to have them align better on github Jan 13, 2018
04-ViewDiscovery renamed folders to have them align better on github Jan 13, 2018
05-ViewInjection renamed folders to have them align better on github Jan 13, 2018
06-ViewActivationDeactivation renamed folders to have them align better on github Jan 13, 2018
07-Modules - AppConfig renamed folders to have them align better on github Jan 13, 2018
07-Modules - Code renamed folders to have them align better on github Jan 13, 2018
07-Modules - Directory Update ModuleA.csproj Jun 6, 2018
07-Modules - LoadManual renamed folders to have them align better on github Jan 13, 2018
08-ViewModelLocator renamed folders to have them align better on github Jan 13, 2018
09-ChangeConvention renamed folders to have them align better on github Jan 13, 2018
10-CustomRegistrations Update to Prism V6.3 Dec 23, 2017
11-UsingDelegateCommands Update to Prism V6.3 Dec 23, 2017
12-UsingCompositeCommands Update to Prism V6.3 Dec 23, 2017
13-IActiveAwareCommands Update to Prism V6.3 Dec 23, 2017
14-UsingEventAggregator Update to Prism V6.3 Dec 23, 2017
15-FilteringEvents Update to Prism V6.3 Dec 23, 2017
16-RegionContext Update to Prism V6.3 Dec 23, 2017
17-BasicRegionNavigation Update to Prism V6.3 Dec 23, 2017
18-NavigationCallback Update to Prism V6.3 Dec 23, 2017
19-NavigationParticipation Update to Prism V6.3 Dec 23, 2017
20-NavigateToExistingViews Update to Prism V6.3 Dec 23, 2017
21-PassingParameters Update to Prism V6.3 Dec 23, 2017
22-ConfirmCancelNavigation Update to Prism V6.3 Dec 23, 2017
23-RegionMemberLifetime Update to Prism V6.3 Dec 23, 2017
24-NavigationJournal Update to Prism V6.3 Dec 23, 2017
25-NotificationRequest Update to Prism V6.3 Dec 23, 2017
26-ConfirmationRequest Update to Prism V6.3 Dec 23, 2017
27-CustomContent Update to Prism V6.3 Dec 23, 2017
28-CustomRequest Update to Prism V6.3 Dec 23, 2017
29-InvokeCommandAction Update to Prism V6.3 Dec 23, 2017
.gitattributes added HelloWorld sample Sep 23, 2015
.gitignore Initial commit Sep 23, 2015
LICENSE Initial commit Sep 23, 2015
README.md Update README.md Sep 19, 2018

README.md

Prism Samples WPF

Samples that demonstrate how to use various Prism features with WPF. If you are just getting started with Prism, it is recommended that you start from the first sample, and work your way down the list sequentially (in order). Each sample builds on the previous sample's concept.

Topic Description
Bootstrapper and the Shell Create a basic bootstrapper and shell
Regions Create a region
Custom Region Adapter Create a custom region adapter for the StackPanel
View Discovery Automatically inject views with View Discovery
View Injection Manually add and remove views using View Injection
View Activation/Deactivation Manually activate and deactivate views
Modules with App.config Load modules using an App.config file
Modules with Code Load modules using code
Modules with Directory Load modules from a directory
Modules loaded manually Load modules manually using the IModuleManager
ViewModelLocator using the ViewModelLocator
ViewModelLocator - Change Convention Change the ViewModelLocator naming conventions
ViewModelLocator - Custom Registrations Manually register ViewModels for specific views
DelegateCommand Use DelegateCommand and DelegateCommand<T>
CompositeCommands Learn how to use CompositeCommands to invoke multiple commands as a single command
IActiveAware Commands Make your commands IActiveAware to invoke only the active command
Event Aggregator Using the IEventAggregator
Event Aggregator - Filter Events Filtering events when subscribing to events
RegionContext Pass data to nested regions using the RegionContext
Region Navigation See how to implement basic region navigation
Navigation Callback Get notifications when navigation has completed
Navigation Participation Learn about View and ViewModel navigation participation with INavigationAware
Navigate to existing Views Control view instances during navigation
Passing Parameters Pass parameters from View/ViewModel to another View/ViewModel
Confirm/cancel Navigation Use the IConfirmNavigationReqest interface to confirm or cancel navigation
Controlling View lifetime Automatically remove views from memory with IRegionMemberLifetime
Navigation Journal Learn how to use the Navigation Journal
Interactivity - NotificationRequest Learn how to show popups using an InteractionRequest
Interactivity - ConfirmationRequest Learn how to prompt a confirmation dialog using a ConfirmationRequest
Interactivity - Custom Content Learn how to use your own content for a dialog shown with InteractionRequest
Interactivity - Custom Request Create your own custom request to use with an InteractionRequest
Interactivity - InvokeCommandAction Invoke commands in response to any event