Тёмный
Wpf World
Wpf World
Wpf World
Подписаться
Welcome to LearnwithKharsh, a RU-vid channel dedicated to providing high-quality educational content to help you enhance your knowledge and skills. My name is Harsh and I am passionate about sharing valuable insights and learning experiences with my audience.
On this channel, you will find a wide range of tutorials about C#, Prism, WPF, MVVM, and MahApps. Whether you're a beginner looking to learn the basics or an experienced enthusiast seeking advanced techniques, there's something for everyone here.
Join me on this educational journey and let's explore together. Don't forget to subscribe to the LearnwithKharsh RU-vid channel and hit the notification bell to stay updated with the latest videos. Feel free to leave comments, ask questions, and share your feedback-I'm here to support your learning and growth.

Thank you for being a part of the Wpf World community.

You can contact me here wpfcsharpmetroui.blogspot.com/p/contact.html
Комментарии
@adam3141
@adam3141 26 дней назад
Great series so far. I am however a bit confused why you passed in the parameters Ok and Cancel to the FileDialog Execute functions when you have functions for both Ok and Cancel. When you click on Ok, the param variable for the Ok function will always contain the value "Ok". Am I missing something? I suppose you could use this parameter with a single Execute function for both the Ok and Cancel button for demonstration purposes. Anyway, great series, I am working my way through them. I want to start getting into WPF application development and this Prism library seems like the way to go to build modular applications.
@learnwithkharsh
@learnwithkharsh 26 дней назад
Thank you for your thoughtful comment, and you're absolutely right! In this case, I passed the "Ok" and "Cancel" parameters to the FileDialog Execute function mainly for demonstration purposes-to show how to pass command parameters to a dialog window in WPF using Prism. This allows you to handle both buttons (Ok and Cancel) within a single function if needed. It's definitely not necessary when using separate functions for Ok and Cancel, but it’s a helpful pattern in some scenarios. I'm glad you're enjoying the series and excited to hear you're diving into WPF and Prism for modular application development. Best of luck, and feel free to reach out if you have any more questions!
@silentknight4611
@silentknight4611 Месяц назад
video helped me a lot!
@learnwithkharsh
@learnwithkharsh Месяц назад
Thanks for letting me know! I’m really happy it helped you!
@SakkuNaik-f6w
@SakkuNaik-f6w Месяц назад
please share source code.
@SakkuNaik-f6w
@SakkuNaik-f6w Месяц назад
Hey Harsh, thank you for this clear explanation. Can you please make a video for Local DB connection.
@learnwithkharsh
@learnwithkharsh Месяц назад
Thanks for your feedback! Could you let me know which type of local database you'd like to learn about? This will help me create a more relevant video for you.
@SakkuNaik-f6w
@SakkuNaik-f6w Месяц назад
@@learnwithkharsh SQL server.
@SakkuNaik-f6w
@SakkuNaik-f6w Месяц назад
If possible , please take examples like Inventory management system , using MVVM
@learnwithkharsh
@learnwithkharsh Месяц назад
You can check ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kBqkAZyWWUM.html
@SakkuNaik-f6w
@SakkuNaik-f6w Месяц назад
@@learnwithkharsh yes I referred this video , i want to add functionalities like , displaying data from db after adding,updating,deleting. after each operation i want to load the data automatically in datagrid. Can you please add this one functionality.
@sweetysnehith9692
@sweetysnehith9692 Месяц назад
Hi I'm getting only side by side option not getting in place project upgrade option can your please help me
@learnwithkharsh
@learnwithkharsh Месяц назад
what is your VS version?
@sweetysnehith9692
@sweetysnehith9692 Месяц назад
@@learnwithkharsh 2022 and dotnet version framework 4.8
@learnwithkharsh
@learnwithkharsh Месяц назад
@@sweetysnehith9692 i hope you have installed the .net sdk
@sweetysnehith9692
@sweetysnehith9692 Месяц назад
@@learnwithkharsh can you please share external url to install it are else share steps to install please
@sweetysnehith9692
@sweetysnehith9692 Месяц назад
@@learnwithkharsh even installed the .net SDK also getting same issue, please help me
@currentaspiration8755
@currentaspiration8755 Месяц назад
he;pful video
@learnwithkharsh
@learnwithkharsh Месяц назад
I’m so glad to hear that! Thanks for watching!
@Goneinsixtseconds
@Goneinsixtseconds 2 месяца назад
irritating music
@mastersham
@mastersham 3 месяца назад
Thanks this is just what I need!
@learnwithkharsh
@learnwithkharsh 3 месяца назад
You're welcome! Glad to hear it's helpful for you! 😊
@josbexerra8115
@josbexerra8115 3 месяца назад
Excelent...
@josbexerra8115
@josbexerra8115 3 месяца назад
Excelente muy bien explicado
@alexandrefaculdade
@alexandrefaculdade 3 месяца назад
Saved my day. Thanks!
@learnwithkharsh
@learnwithkharsh 3 месяца назад
Great to hear!
@emreyukcu7315
@emreyukcu7315 4 месяца назад
I appreciate you man. Thank you very much indeed, you are a king
@learnwithkharsh
@learnwithkharsh 4 месяца назад
I appreciate your kind words! I'm glad the tutorial was helpful for you.
@sweetysnehith9692
@sweetysnehith9692 Месяц назад
@@learnwithkharsh yes can you please share any reference to solve my issue .
@MrLauHD
@MrLauHD 4 месяца назад
bro you have 2 referances in your current page and numberofpages but i have 1 Why you dont show the all of the codes
@krisnayadav-os4yu
@krisnayadav-os4yu 4 месяца назад
check id not propare in serially when name sorting then how to create id manual serially when name sort
@learnwithkharsh
@learnwithkharsh 4 месяца назад
I didn't get. Can you explain more?
@Amertharamvaradarajan
@Amertharamvaradarajan 5 месяцев назад
Nice Explanation. Thank You.
@learnwithkharsh
@learnwithkharsh 5 месяцев назад
Glad it was helpful!
@김재원-m2j
@김재원-m2j 5 месяцев назад
Thanks for the great material! One question to ask... the binding of property (such as Command and IsChecked, etc) between Toolbarview.xaml and ToolbarViewmodel was successfully done even though the datacontext of the usercontrol was not declared. How was it possible?
@learnwithkharsh
@learnwithkharsh 5 месяцев назад
It's great to hear that you found the material helpful! ❤️ Regarding your question about the binding of properties between ToolbarView.xaml and ToolbarViewModel, Prism's view discovery mechanism allows for implicit data context creation. This is made possible by the ViewModelLocator feature provided by Prism. The ViewModelLocator automatically locates and assigns the appropriate view model instance to the view based on naming conventions and view-model naming patterns. Prism's ViewModelLocator uses a naming convention to match the view model to the view. For example, in our case the view is named as "Toolbarview.xaml," Prism will search for a view model named with "ToolbarViewmodel.cs" and automatically assign an instance of this view model to the view's DataContext.
@r14958
@r14958 6 месяцев назад
Great material! Is the code available?
@learnwithkharsh
@learnwithkharsh 6 месяцев назад
You can find the code for this tutorial on GitHub. Here is the link: github.com/learnwithkharsh/Prism-Practice Feel free to clone the repository and explore the code.
@r14958
@r14958 6 месяцев назад
Thank you, Kharsh, this is an awesome resource for someone learning WPF like me!
@sergeys5270
@sergeys5270 6 месяцев назад
Nice!
@learnwithkharsh
@learnwithkharsh 6 месяцев назад
Thanks!
@arritennant7960
@arritennant7960 6 месяцев назад
☝️ "Promosm"
@bgmexpert
@bgmexpert 6 месяцев назад
Loosely coupled?
@learnwithkharsh
@learnwithkharsh 6 месяцев назад
Yes
@Amertharamvaradarajan
@Amertharamvaradarajan 6 месяцев назад
Thank you. Its a good explanation 👌 of dialogservice in prism.
@learnwithkharsh
@learnwithkharsh 6 месяцев назад
Glad you liked it
@CassioJhones407
@CassioJhones407 7 месяцев назад
amazing
@learnwithkharsh
@learnwithkharsh 6 месяцев назад
Thank you! Cheers!
@Amertharamvaradarajan
@Amertharamvaradarajan 7 месяцев назад
It's great to understand. Thank You.
@learnwithkharsh
@learnwithkharsh 7 месяцев назад
Glad to hear that!
@vishnuprabhakar2451
@vishnuprabhakar2451 8 месяцев назад
Hi can I get 1:1 mentorship you ..I am working professional working in c# wpf...I will pay
@anti-scammer
@anti-scammer 8 месяцев назад
Thank you
@learnwithkharsh
@learnwithkharsh 8 месяцев назад
You're welcome
@djelasrca8091
@djelasrca8091 8 месяцев назад
Do you know how to make Metro Window rounded?
@learnwithkharsh
@learnwithkharsh 8 месяцев назад
you can use WindowStyle="None" and then override the Metro Window "Template"
@djelasrca8091
@djelasrca8091 8 месяцев назад
@@learnwithkharsh whats the point of using metro then? I can use "None" on regular window. But i found better way. There is something called WPFUI and its awesome.
@okitkin
@okitkin 10 месяцев назад
Thank you very much !!! ))
@learnwithkharsh
@learnwithkharsh 10 месяцев назад
You are welcome!
@drjames079
@drjames079 10 месяцев назад
This is just an abstraction of view creation behind an interface... still a violation of MVVM
@원민-m6u
@원민-m6u 10 месяцев назад
Can I create a textbox in richtextbox every time I press a button by creating a buttoncontrol?
@learnwithkharsh
@learnwithkharsh 10 месяцев назад
U can, but could you explain ur use case?
@aravinds6051
@aravinds6051 11 месяцев назад
A million thanks for sharing this. Hope you will add more videos in the near future. God bless u.
@learnwithkharsh
@learnwithkharsh 11 месяцев назад
You're very welcome! I'm thrilled you found the video helpful. God bless you too!
@alexiagordon6389
@alexiagordon6389 Год назад
Promo-SM
@stackfarzad
@stackfarzad Год назад
please add a tutorial covering these: Perform Crud with mvvm Using Command and so on.
@learnwithkharsh
@learnwithkharsh Год назад
Thank you for your suggestion! I appreciate your interest in MVVM and CRUD operations. I'll certainly consider creating a tutorial that covers these topics. Stay tuned for future content on our channel. In the meantime, don't hesitate to ask any specific questions you have about MVVM or CRUD - I'm here to help!"
@learnwithkharsh
@learnwithkharsh 10 месяцев назад
Here i have updated code with mvvm and commands ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-iXOFn7HUXEs.htmlsi=iKt7xfVh3zocx3uJ
@dexquery69
@dexquery69 Год назад
Can you share the code thanks in advance
@learnwithkharsh
@learnwithkharsh Год назад
Absolutely! You can find a sample code snippet for the functionality you're looking for wpfcsharpmetroui.blogspot.com/2023/08/how-to-load-add-update-and-delete.html Feel free to take a look and modify it according to your requirements. If you have any questions or need further assistance, don't hesitate to ask. Happy coding!😜
@dexquery69
@dexquery69 Год назад
@@learnwithkharsh the page u r looking for in this context doesn't exist
@learnwithkharsh
@learnwithkharsh Год назад
@@dexquery69 there was dot at last i have removed it. now you can try
@dexquery69
@dexquery69 Год назад
@@learnwithkharsh thank u for the help ...May lord always give u the best of the besy
@learnwithkharsh
@learnwithkharsh Год назад
You're welcome! I'm glad I could assist you. Wishing you the best as well!
@gottipallianusha8833
@gottipallianusha8833 Год назад
can anyone have the source code of it pls share
@learnwithkharsh
@learnwithkharsh Год назад
Absolutely! I'm glad you're interested in the source code. You can find the sample code snippet for the CRUD operations in the WPF application on my blog here: wpfcsharpmetroui.blogspot.com/2023/08/how-to-load-add-update-and-delete.html Feel free to explore the code and adapt it to your needs. If you have any questions or need further assistance, don't hesitate to ask. Happy coding! 🚀
@cad3717
@cad3717 Год назад
thanks dude, it helped much the video!!
@learnwithkharsh
@learnwithkharsh Год назад
Glad it helped!
@nyendwa
@nyendwa Год назад
where can i access the source code?
@learnwithkharsh
@learnwithkharsh Год назад
I appreciate your interest! As of now, I haven't uploaded the source code yet. However, I plan to make it available soon. Stay tuned for updates, and thank you for your patience!
@learnwithkharsh
@learnwithkharsh Год назад
As I promised, I have now shared the code on my blog. You can access it through the following link: wpfcsharpmetroui.blogspot.com/2023/08/connect-sql-server-database-to-wpf.html Feel free to explore the code and adapt it to your needs.
@Galahad12
@Galahad12 Год назад
Nice, thank you!
@learnwithkharsh
@learnwithkharsh Год назад
Our pleasure!
@omostan
@omostan Год назад
It is very difficult to comment on this tutorial. First of all, it really helped me to figure out how to implement this filtering technique in my application. It was very simple. But I had to stop the video several times. So thank you very much! I really have a problem with your teaching technique. It would be very helpful if you spoke a little louder, reduced or eliminated the music, and finally spoke slowly. You have taken the time to help others and we really appreciate your efforts. Please remember that you are doing it for others and not for yourself because you already have the knowledge. Passing on your knowledge to others requires a little more passion and care. Once again, thank you and have a great day!
@learnwithkharsh
@learnwithkharsh Год назад
Thank you so much for taking the time to share your feedback on this tutorial! I'm thrilled to hear that it helped you in implementing the filtering technique for your application. I understand that you had to pause the video a few times, and I appreciate your patience and perseverance. I genuinely appreciate your constructive criticism regarding my teaching technique. Your suggestions about speaking louder, reducing or eliminating the music, and speaking slowly are valuable insights that I'll take to heart. As an instructor, it's essential for me to be mindful of the clarity and delivery of my lessons, ensuring that they are accessible to all viewers. I'll make a conscious effort to improve in those areas, and I'm grateful for your guidance. You're absolutely right that sharing knowledge is all about helping others, and I'm honored to be able to contribute to the learning community. Your words have reminded me of the passion and care required in teaching, and I'll strive to infuse even more of those qualities into my future videos. Once again, I genuinely appreciate your feedback and kind words. Thank you for recognizing my efforts in assisting others. Have a fantastic day, and best of luck with your application!
@wawandharmawan2441
@wawandharmawan2441 9 месяцев назад
Yes I agree, the background music is really annoying.
@scottbass1530
@scottbass1530 2 месяца назад
I bailed after one minute of the annoying music. Off to another channel to learn about WPF and DataGrid.
@DmitrencoNikita
@DmitrencoNikita Год назад
Tell me please, what the package i got to download or what to do to use this using Prism.Commands or Prism.MVVM. I put one of those usings and Visual studio says that it doesn't know about the namespace)
@learnwithkharsh
@learnwithkharsh Год назад
You can try this ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-iTUy6AlyDgA.html
@НикитаДмитренко-в1ц
@@learnwithkharsh Thank you
@gregorylewis9932
@gregorylewis9932 Год назад
Thanks, I needed this!! You really need S M Z E U S!!!
@sivasothytharsi1203
@sivasothytharsi1203 Год назад
sir how can we use microsoft community toolkit for MVVM ? could you please explain me?
@learnwithkharsh
@learnwithkharsh Год назад
wpfcsharpmetroui.blogspot.com/2023/04/getting-started-with-microsoft.html
@Galahad12
@Galahad12 Год назад
Good job!
@learnwithkharsh
@learnwithkharsh Год назад
Thanks!
@mishraJi48
@mishraJi48 Год назад
not visible
@amryakout2957
@amryakout2957 Год назад
Great work 👏 Can you upload the source code on githup?
@learnwithkharsh
@learnwithkharsh Год назад
wpfcsharpmetroui.blogspot.com/2019/09/how-to-filter-datagrid-and-listview-in.html
@yava44
@yava44 Год назад
jesus.............
@Mia-ox5wf
@Mia-ox5wf Год назад
Hi Harsh, I followed your tutorial. The datagrid is not showing the contents of the .csv file. Can you please tell how did you bind the datasource in “EmployeeDetails.xaml.cs” ? It will be helpful if you could share your code.
@learnwithkharsh
@learnwithkharsh Год назад
Check this video you will get the idea ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-j0K0CxFtSK4.html
@UnknownMoses
@UnknownMoses Год назад
Seriously music?
@magicipeinist
@magicipeinist Год назад
Hi, I would like to know when should I use indexer instead of member access, and when to use to int indexer and the string indexer. because i see that in this example all three access operators do the same thing.
@learnwithkharsh
@learnwithkharsh Год назад
If you want to access data members of class like an array then you can use it. The indexed value can be set or retrieved without explicitly specifying a type or instance member. If you observe here i have not used any of the data members to access it rather i used the index with class instance.
@WalkingtotheTruth
@WalkingtotheTruth Год назад
How can I make this view model reusable for the different tables?
@learnwithkharsh
@learnwithkharsh Год назад
U can have common property or function in a base vm and inherits from it wherever require the same.
@WalkingtotheTruth
@WalkingtotheTruth Год назад
@@learnwithkharsh Thanks for your suggestion, I have done that.