love Robert's office , lovely doors . Very cozy place .
@JoseSilva-gt6zj2 жыл бұрын
Great video, James! Thank you for doing this sample in WPF! There is a ton of this kind of application! Keep going!
@buseacun67882 жыл бұрын
Hi, thank you for the video James. I was searching this for two days and I could't understand until I watched this :)
@simaesthesia2 жыл бұрын
I'm just about to start a new WPF project and you guys have just saved me a ton on work! Thanks!
@brycebreitenstein48312 жыл бұрын
Mind Blown. Thank you for sharing!
@ericritter464 ай бұрын
Oh jame's, it's beautiful ❤️
@JoseSilva-gt6zj2 жыл бұрын
James, I didn't get you when you said that when we cannot inherit from another class then use "[INotifyPropertyChanged]", if we can, then use inheritance from "ObservableObject". Is it correct? If yes, could you talk about why? Thank you so much! Video time is 12:21 .
@JamesMontemagno2 жыл бұрын
Yeah for example... let's say you inherit from your own base class called "MyBaseClass"... well you couldn't inherit from "ObservableObject" at the same time, so this is where you would use "[INotifyPropertyChanged]"
@JoseSilva-gt6zj2 жыл бұрын
Nice! Thank you so much @@JamesMontemagno !
@devnami2 жыл бұрын
Currently MAUI is not available in the regular VS. It is only for preview mode, when is the availability is going to be in general channel of VS?
@umarfaruq98882 жыл бұрын
Robert deserves an Oscar for his acting.😆
@wassollderscheiss33 Жыл бұрын
This toolkit espcially targets MVC Web Application developers, right? So I can ignore it as a Blazor dev?
@sirinebibicha2024 Жыл бұрын
very very nice thanks ..
@directionsys2 жыл бұрын
Very very nice
@installgentoo43622 жыл бұрын
In minute 6:20 you said don't put the DataContext there. What did you mean by that?
@toma13852 жыл бұрын
great
@lynnbennett90078 ай бұрын
With no more support for VS for Mac, how do we install the community toolkit to VS Code on Mac?
@dalli-photo2 жыл бұрын
Hi, great video! Do you have a navigation example for WPF?
@bity-bite2 жыл бұрын
Everyone does navigation in MVVM differently, go with the way that you feel comfortable with.
@JamesMontemagno2 жыл бұрын
Yeah the toolkit isn't a framework just helpers and works with every application. So navigation is up to you.
@xamarinmaster14032 жыл бұрын
With Xamarin.Forms, I am used to using the code behind page class as the view model since it already implements INotifyPropertyChanged. Therefore, I would just set the BindingContext = this and life was good. I attempted to do the same thing with MAUI and with these new code generators. Unfortunately, it doesn't work. It looks like the implementation of INotifyPropertyChanged is slightly different between MAUI Pages and the CommunityToolkit. The end result is: cannot convert from 'System.ComponentModel.PropertyChangedEventArgs' to 'string'. Can this be fixed? I find using the Page class as the ViewModel very convenient as that means one less class to deal with. But perhaps this is bad practice?
@JamesMontemagno2 жыл бұрын
I added a Xamarin.Forms sample in tehre so take a look at the source code :)
@xamarinmaster14032 жыл бұрын
@@JamesMontemagno my question is regarding MAUI, not Xamarin.Forms. Also, my question is regarding using the Page class as the view model for itself, BindingContext = this; your sample does not address my question.
@markmbouma2 жыл бұрын
That's amazing
@user-je8he7ox6p2 жыл бұрын
Amazing!
@kevinmungame18692 жыл бұрын
Good stuff
@rainfallen10642 жыл бұрын
Don't you just love magic codes
@chrisjohnson7255 Жыл бұрын
I love helper functions! But I always get imposter syndrome, "how can something so easy, be so good?"
@ddavid88888882 жыл бұрын
I would love to know When it would come to maui, last time I tried to use it it didn’t work at all
@JamesMontemagno2 жыл бұрын
It works perfect with .NET MAUI as I mentioned and have in the sample repo: github.com/jamesmontemagno/MVVMSourceGenerators
@directionsys2 жыл бұрын
Please, links to this repo
@JamesMontemagno2 жыл бұрын
Added links in there
@BloodHaZaRd6662 жыл бұрын
Ok now I ll get more stupid using this MVVM thing
@StephBsimon2 жыл бұрын
wouldn't it be wonderful if you had at least a single sample that u could actually clone from git and compile without throwing visual studio into a shock! the mvvm project is broken, same with the maui sample. just the time spent trying to resolve these conflicts makes you wonder...
@JamesMontemagno2 жыл бұрын
Would love to know what issues you are running into. I pulled the source code and is workign just fine. I did a few small tweaks today for styles, but in general working on my machines. please open an issue, but also make sure you are up to date on Visual Studio 2022 previews
@James-rx5eb2 жыл бұрын
Could you provide an example of using attributes to achieve something like a RelayCommand with a CanExecute changed? i.e. You can't hit `Submit` until `!string.IsNullOrWhiteSpace(FullName)` ?