From 92e975916db67c13426abe8b080d96227712956e Mon Sep 17 00:00:00 2001 From: Yik Teng Hie Date: Fri, 10 Feb 2023 10:34:12 +0800 Subject: [PATCH] Guidance for View-ViewModel --- README.md | 11 ++- view-viewmodel.md | 197 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 206 insertions(+), 2 deletions(-) create mode 100644 view-viewmodel.md diff --git a/README.md b/README.md index 40097c8..f53990c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ -# prism-knowledgebase +# KnowledgeBase for Prism Guidance -KnowledgeBase for Prism Pattern \ No newline at end of file +* [Official Site](https://prismlibrary.com/) +* Existing Mitech-wpf use `Prism 4.x`. The only official legacy reference is based on [Prism 6](https://prismlibrary.com/docs/wpf/legacy/Introduction.html) + * Its using `MEF Ioc (Dependency Injection)`. The `MEF DI` was removed from Prism 7.x and above. Only `Unity Dependency Injection` supported form Prism 7.x onward +* The latest Prism Library is `8.1` +* Prism 8 support NET 5 and dotnet Framework. Prism 6.x and below only DotNet Framework 4.8 and below + +## Tutorials +- [View-ViewModel](./view-viewmodel.md) \ No newline at end of file diff --git a/view-viewmodel.md b/view-viewmodel.md new file mode 100644 index 0000000..37b1dc6 --- /dev/null +++ b/view-viewmodel.md @@ -0,0 +1,197 @@ +# Adding New View-ViewModel for Package Info + +1. Create XAML view code +```xml + + +