Hi Brian!. I just started to use Prism and I'm learning a lot with your videos, thanks. I'd know if Prism implements something like a "converter" for changing the type of the CommandParameter.
The fact that much Prism doesnt just work as Fody weavers is one of the greatest tragedies in the history of C# [AddINotifyPropertyChangedInterface] and [AlsoNotifyFor] turns any poco into an observable object
That’s because Prism is just a collection of patterns and practices. It does not reinvent the wheel. Also, its not intrusive like Fody and does no inject it’s own code into your generated IL.
Hello, Brian! Great video. Is this video useful to develop UWP apps or just for WPF apps? I've searching on some tutorial about how to use Prism Library + UWP, but I didn't find anything relevant.
1) You're very welcome. Thanks for watching 2) You would use a MultiBinding with a IMultiValueConverter and some type of complex object to capture multiple parameter values to use in a command. 3) That's awesome. Which control do you use most?
@@BrianLagunas 1) :-) 2) Ok. Thx for the hint. When I thought about it, I found that named tuples also work and are convenient to use. 3) New in company. The main solution is a dinosaur in WinForm. I think datagrid is most used. But most needed are trees.
Hi great videos , thanks for all the help, is there are tutorial for Prism 8 anywhere by you, the pluralsight is Prism 7 and its different from Pirsm 8 , thanks. Also can we somehow install older version of Prism in Nuget Packages?
There is no major difference in Prism 7 and 8. The Pluralsight course will still work fine. Yes, you can install old packages from NuGet, you just have to select the version you want.
Not in the ObservesCanExecute delegate. That is expecting a property only. You could create another property that does the inversion and use that property instead.
@@BrianLagunasI was working on making a computer info app that would sit in your system tray. I have buttons that copy the corresponding elements value to your clipboard. I wanted to have other buttons execute other methods but wanted to see if there was a way to use only 1 DelegateCommand. Rather then making multiple ones...
i need your help please , i'm creating a new project with prism 7 for WPF , i have a main module that populate the user menu items as per them rule , i need to lunch the view (witch is in another module) from this module ????
7:06 This gave me the same feeling as those Billy Mays commercials "But wait, there is more!".
I love that!
Brian "I think we can do better" Lagunas ;)
Love it, thanks!
Thanks for watching
When I hear "We can do better" - I am like a kid in a candy-shop
Aren't we all 😁
Awesome 👍, thanks for nice video, got same problem
Thanks for watching
Great, thanks!
You're welcome!
Great video Brian. Now I need to go and change my setters :P
Hi Brian!. I just started to use Prism and I'm learning a lot with your videos, thanks. I'd know if Prism implements something like a "converter" for changing the type of the CommandParameter.
No, if the parameter type can change just make it an object.
The fact that much Prism doesnt just work as Fody weavers is one of the greatest tragedies in the history of C#
[AddINotifyPropertyChangedInterface] and [AlsoNotifyFor] turns any poco into an observable object
That’s because Prism is just a collection of patterns and practices. It does not reinvent the wheel. Also, its not intrusive like Fody and does no inject it’s own code into your generated IL.
Hello Brian, since you do "...command = new DelegateCommand(...)" is it because DependencyInjection cannot inject DelegateCommands?
Correct, you do not inject command objects
Hi Brian, can you please tell me how to stop observing these properties.
There is currently no way to unregister an observed property.
Hello, Brian! Great video. Is this video useful to develop UWP apps or just for WPF apps? I've searching on some tutorial about how to use Prism Library + UWP, but I didn't find anything relevant.
Unfortunately, Prism does not currently support UWP.
Brian Lagunas, it’s a pity! Prism is a great framework. I use it a lot when I’m developing with Xamarin.
@Brian Lagunas 1) Thx for all of your shared worked and knowledge !!!! 2) What's about support for multiple parameters ? :-) 3) Using IG at work
1) You're very welcome. Thanks for watching
2) You would use a MultiBinding with a IMultiValueConverter and some type of complex object to capture multiple parameter values to use in a command.
3) That's awesome. Which control do you use most?
@@BrianLagunas 1) :-) 2) Ok. Thx for the hint. When I thought about it, I found that named tuples also work and are convenient to use. 3) New in company. The main solution is a dinosaur in WinForm. I think datagrid is most used. But most needed are trees.
Hi great videos , thanks for all the help, is there are tutorial for Prism 8 anywhere by you, the pluralsight is Prism 7 and its different from Pirsm 8 , thanks.
Also can we somehow install older version of Prism in Nuget Packages?
There is no major difference in Prism 7 and 8. The Pluralsight course will still work fine. Yes, you can install old packages from NuGet, you just have to select the version you want.
Great video Brian ! Quick question: Does ObserveProperty in Prism support complex properties or they have to be included in the ViewModel? Thanks !
It does support complex properties 😁
@@BrianLagunas Thank you for your reply ! I appreciate it !! Would it be possible to give an example of implementation?
ObservesProperty(()=> Person.FirstName)
@@BrianLagunas Thanks Brian ! By the way your course in Pluralsight is excellent. Thank you for your effort !
Thank you for watching 🙏
Might sound crazy , but is there way to open a exe within an exe. Not in a new window, rather like opening a user control in Window.xaml.
Is it possible to invert how the boolean property is used with ObservesCanExecute? !IsEnabled isn't supported.
Not in the ObservesCanExecute delegate. That is expecting a property only. You could create another property that does the inversion and use that property instead.
@@BrianLagunasthanks! And great video, I was able to simplify a lot of code after watching.
@@CloudlessEchoes Thanks for watching.
What if I had multiple buttons that execute different commands, how would you simply it to the least amount of code possible?
That depends on the code you are executing. Is it all the same except for a parameter?
@@BrianLagunasI was working on making a computer info app that would sit in your system tray. I have buttons that copy the corresponding elements value to your clipboard. I wanted to have other buttons execute other methods but wanted to see if there was a way to use only 1 DelegateCommand. Rather then making multiple ones...
You can do that, but I don't think you should.
You should make a tutorial explaining Multi Window app in WPF with Prism. I have seen a lot of examples of multi pages but not about Multi WIndow.
I already have a video on this. It's actually a Pluralsight course www.pluralsight.com/courses/prism-showing-multiple-shells
Make another Pluralsight course on "Prism for Xamarin.Forms" (I watched your prism courses)
It's something I need to do, but have not had the time. Thanks for watching my other courses. I hope you found them helpful.
i need your help please , i'm creating a new project with prism 7 for WPF , i have a main module that populate the user menu items as per them rule , i need to lunch the view (witch is in another module) from this module ????
Then just navigate to your view. It doesn't matter what module its in.
@@BrianLagunas can you please show me some code , and what if i need to open the new view in a new tab in docking control ?
Start by reviewing all the samples github.com/PrismLibrary/Prism-Samples-Wpf
There is also a lot of documentation: prismlibrary.github.io/docs/wpf/legacy/Introduction.html
I also have a lot of video courses you can watch www.pluralsight.com/authors/brian-lagunas
Thanx :)
Thanks a lot, I could unblocked me with this video :)
Great to hear. Thanks for watching