Hi, Thank you for your tutorial, very impressive. The Responsive Class is reuseable, just have to write it once, then load it whenever it needed in every project, i like it a lot. Thumbs up and a sub.
Just wanted to point out that System.Windows.Interactivity is deprecated. If you want to use Interactivity tag, you have to download a Microsoft.Xaml.Behaviors nugget Source: stackoverflow.com/questions/8360209/how-to-add-system-windows-interactivity-to-project
Basically register attached are helps extend functionally of your control devexpress wpf Behavior doc has a good explanation, by mention that it also help avoid code behind if you want to follow the true MVVM. Would use it mostly in framework control as your own control you will have access to all the component
How can I move a borderless window? I created a button on top of it to look like the top border thing but then using mvvm I dont know how to do the drag around? like how do i pass the current window to viewmodel?
Hello, can you please tell me where should I use static resource and dynamic resource in Wpf I know that static resource is resolved at compile time and dynamic resource at run time. But im not getting when to use what Thank you
Hey Vinay, most of the time a static resource is sufficient. However, if you have a resource that changes throughout the application, then you should use a dynamic resource. Okay, but why the heck would you ever want to use a static resource then if you could just ALWAYS use a dynamic resource and never have to worry about it not updating if you change it? Well, static resources are more efficient, so that's the main reason this is even a dilemma. For example, if you have a Color resource that you change when the user presses a button, then you would want that to be a dynamic resource. Otherwise, if your Color never changes, it can be a static resource.
Hi Sean, I have been following all your videos and I must say it is very helpful and I learnt a lot ☺. I need one help. Actually I'm working on project which requires dual screen support. I have searching but didn't find any helpful solution. Could you please help me how can I develop a dual screen application in WPF. I will really appreciate you.
@@SingletonSean the application is a kiosk which have screen on both side. One screen faces the operator and the other side faces the customer. Basically, it's will have two windows
man can you do me a favor and create a discord channel like please? please? I can't find support when i need like i have some support groups in facebook but everytime i have to ask for help i need to wait for my post to get approved. i also look to find wpf groups in discord but no luck and you know it would be great if you would do that.. You will get famous dont worry ;)
11:16, I dont think it's going to unsubscribe, because its a different anonymous method. You should store the anonymous in a global variable then subscribe or unsubscribe. Or something changed in new C# ?
That is correct xmenxwk, and that is actually a major flaw with this tutorial! Anonymous event subscriptions is definitely one of the popular causes of memory leaks in .NET applications. I will need to address this in a future video.
In "OnIsResponsiveChanged" A local or parameter named 'e' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter. How to fix this?