Тёмный
No video :(

Practical Attached Property Behavior - WPF RESPONSIVE DESIGN ESSENTIALS #2 (.NET CORE) 

SingletonSean
Подписаться 22 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@m3xpl4y
@m3xpl4y 3 года назад
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.
@SingletonSean
@SingletonSean 3 года назад
Awesome Max! Glad to hear this is solving problems in your project. Perhaps I will publish it as a NuGet package too. Thanks for the support.
@tomasnadvornik2826
@tomasnadvornik2826 3 года назад
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
@VinuP2023
@VinuP2023 4 года назад
Thank you for your time and efforts 😊. Please keep doing more of these videos.
@SingletonSean
@SingletonSean 4 года назад
Thanks Vinay, much more to come!
@Ethorbit
@Ethorbit 3 года назад
@Alfredo Cocker nobody cares
@Ethorbit
@Ethorbit 3 года назад
@Jasper Morgan not that this random scam nobody asked for is believable but both of your accounts were made on March 5th 2021 lol
@LuigiTrabacchin
@LuigiTrabacchin 3 года назад
i think the way you get the main window is quite risky, but everything else is inspiring. i would use the visual three helper instead
@SingletonSean
@SingletonSean 3 года назад
Looking back, I agree Luigi, especially considering the control could be on a Window that isn't the MainWindow. Good point!
@millanazcona6660
@millanazcona6660 3 года назад
Hi, thank you, the tutorial is very nice. Could be posible use cards with diferent sizes?
@jalia1998
@jalia1998 3 года назад
Thank you! Good Job.
@bojanpavlovic5038
@bojanpavlovic5038 11 месяцев назад
Awesome! Thx!
@ivandrofly
@ivandrofly Год назад
Note 8:00 - Register the handler to the property changed
@ivandrofly
@ivandrofly 3 месяца назад
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
@algorithman2129
@algorithman2129 2 года назад
Thx
@FuzzyDPozzy
@FuzzyDPozzy 3 года назад
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?
@icseic8914
@icseic8914 2 года назад
How do i set this up so my TextBox behave like a Browser Adressbar? MouseUp => Select all text but only if selectionLength < 1
@windowsbuilderthegreat3121
@windowsbuilderthegreat3121 2 года назад
What is the difference between a dependency property and attached property
@VinuP2023
@VinuP2023 4 года назад
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
@SingletonSean
@SingletonSean 4 года назад
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.
@mdrahbarahmedkhan
@mdrahbarahmedkhan 4 года назад
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
@SingletonSean 4 года назад
Hey Md Rahbar, by dual screen do you mean one screen that supports multiple screen sizes, or do you mean having 2 windows in your application?
@mdrahbarahmedkhan
@mdrahbarahmedkhan 4 года назад
@@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
@FuzzyDPozzy
@FuzzyDPozzy 3 года назад
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 ;)
@xmenxwk
@xmenxwk 3 года назад
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# ?
@SingletonSean
@SingletonSean 3 года назад
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.
@markosvaldaltpere3629
@markosvaldaltpere3629 3 года назад
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?
Далее
what will you choose? #tiktok
00:14
Просмотров 5 млн
Is LEARNING WPF still WORTH it in 2023?
10:59
Просмотров 47 тыс.
When RESTful architecture isn't enough...
21:02
Просмотров 272 тыс.
oh $%!&, I didn't want to do that! UNDO UNDO UNDO!
13:54
Attached Properties in WPF
18:19
Просмотров 28 тыс.
Creating Reusable Controls - WPF TUTORIALS
17:10
Просмотров 30 тыс.