Skip to content

PrismLibrary/Prism-Samples-Uno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prism Samples for Uno Platform

The samples in this repo demonstrate how to use various Prism features with Uno Platform and WinUI 3. 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
PrismApplication and the Shell Create a basic PrismApplication 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 Code Load modules using code
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 IConfirmNavigationRequest 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

Releases

No releases published

Packages

No packages published