-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'PrismLibrary:master' into master_/feature/gobackto-with…
…out-popping-each-page
- Loading branch information
Showing
37 changed files
with
573 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ jobs: | |
with: | ||
name: Build Prism.Forms | ||
solution-path: PrismLibrary_Forms.slnf | ||
jdk-version: 13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,33 @@ | ||
namespace Prism.Mvvm; | ||
|
||
/// <summary> | ||
/// Defines the behavior that the <see cref="ViewModelLocator"/> should use. | ||
/// </summary> | ||
public enum ViewModelLocatorBehavior | ||
{ | ||
/// <summary> | ||
/// The ViewModel will be lazily loaded by the Page/Region Navigation Services | ||
/// or the DialogService. | ||
/// </summary> | ||
/// <remarks> | ||
/// This is the default and recommended value for the ViewModelLocator. This will | ||
/// allow the View to be fully initialized and ensure that the proper ViewModel is | ||
/// resolved based on the route name. | ||
/// </remarks> | ||
Automatic, | ||
Disabled | ||
|
||
/// <summary> | ||
/// This will disable Prism's automatic ViewModel Location | ||
/// </summary> | ||
Disabled, | ||
|
||
/// <summary> | ||
/// This is not recommended for most situations | ||
/// </summary> | ||
/// <remarks> | ||
/// This is likely to cause breaks in the Container Scoping. It is recommended that | ||
/// you allow Prism Page/Region Navigation Services or the Dialog Service properly | ||
/// resolve the ViewModel. | ||
/// </remarks> | ||
Forced | ||
} |
Oops, something went wrong.