Tactic Devs
Tactic Devs
  • 48
  • 650 426
How to Bind Collections to UI in WPF MVVM
In this video, we'll explore how to implement data binding between a collection of objects and a user interface in WPF. Using a practical example, I'll demonstrate how to bind a collection of strings to a UI that displays one item at a time. You'll also learn how to navigate through the items in the collection efficiently. This implementation follows the MVVM design pattern to ensure clean and maintainable code. Watch as we dive into Visual Studio to bring this concept to life step by step!
Source Code:
มุมมอง: 803

วีดีโอ

How to Implement Validation in WPF MVVM
มุมมอง 9Kปีที่แล้ว
In this video, we're going to delve into implementing validation using the NotifyDataErrorInfo interface while following the MVVM design pattern, NotifyDataErrorInfo enables data entity classes to implement custom validation and expose validation results asynchronously. Source Code : github.com/TacticDevGit/WPF-Data-Validation-MVVM #mvvm
How to Load a CSV File to a DataGrid in WPF
มุมมอง 3.7Kปีที่แล้ว
This video demonstrates how to import CSV data into a WPF desktop application. CSV files, which stand for Comma-Separated Values, are a widely used format for storing and exchanging tabular data. In this tutorial, you'll learn how to create a WPF application that can read and display data from a CSV file. Source Code : github.com/TacticDevGit/CSV-Data-to-DataGrid-in-WPF
How To Create Custom Controls in WPF
มุมมอง 43Kปีที่แล้ว
🔥 In this comprehensive tutorial, I guide you through the process of creating custom controls in WPF from scratch! 🔥 i'll break down the entire process into simple steps, making it easy for anyone to follow along. Source Code : github.com/TacticDevGit/WPF-Custom-Controls
How to build an AI App with ASP.NET in 2025
มุมมอง 1.8Kปีที่แล้ว
Building an AI Chatbot with ASP.NET, Tailwind CSS, and API 🌐 Ready to dive into the world of artificial intelligence and web development? In this comprehensive tutorial, we'll guide you through the process of creating an intelligent AI chatbot using ASP.NET, enhancing its visual appeal with Tailwind CSS, and integrating it with a powerful API for natural language processing. 🔧 Prerequisites: B...
Five Coding Practices You NEED To Know
มุมมอง 803ปีที่แล้ว
#codingtips , #.net
WPF MVVM Tutorial: Build An App with Data Binding and Commands
มุมมอง 86Kปีที่แล้ว
In this video, you will learn how to use the MVVM pattern in WPF to create a app. MVVM stands for Model-View-ViewModel and it is a design pattern that helps you separate the presentation layer from the business logic and data layer of your application. You will learn how to use data binding, commands, in WPF to make your code more maintainable and testable. This video is suitable for beginners ...
Running An App I Made Years Ago
มุมมอง 968ปีที่แล้ว
In this video I try an app i developed about 4 years ago i also review its code
The Basics of Data Binding in WPF
มุมมอง 52Kปีที่แล้ว
Data binding is a crucial concept in WPF that enables developers to establish dynamic connections between the user interface (UI) elements and data sources such as databases, collections, or objects. It allows for seamless synchronization of data between the UI and the underlying data source, eliminating the need for manual data manipulation. In this video, we will start with the basics of data...
The Power of Last-In-First-Out: Understanding the Stack Data Structure with Real-World Examples
มุมมอง 1.4Kปีที่แล้ว
In this video, we discuss the Stack data structure, one of the fundamental data structures in computer science. We explain how it operates based on the LIFO principle and demonstrate its basic operations with a visual example. By understanding how the stack works, we can apply it to algorithms and real-world applications such as web browsers, undo/redo functions, and call stacks in programming....
How to Store and Retrieve Setting In WPF
มุมมอง 14Kปีที่แล้ว
This video demonstrates how to implement an Application preference feature that allows a user to read and modify application settings and store them to a config file, which can then be loaded at startup to configure the application accordingly." In .NET, configuration files are commonly formatted in XML or JSON and are organized into sections to group related settings for improved readability a...
How to Switch Themes in a WPF App at Runtime
มุมมอง 18Kปีที่แล้ว
This video is a step-by-step tutorial on How to Switch Themes in a WPF App at Runtime, You will learn how to set up a Resource Dictionary to contain different themes, create styles and templates for your controls, and dynamically switch between themes at runtime. Source Code: github.com/TacticDevGit/Switching-WPF-Themes-At-Runtime
How to Create Engaging Animations in WPF using Storyboards and Code-Behind
มุมมอง 22K2 ปีที่แล้ว
In this video, I'll dive into the basics of creating animations in Windows Presentation Foundation (WPF) using storyboards in XAML and animation class in code-behind. I cover how to create and control animations using storyboards, how to animate properties of UI elements, and how to use triggers to start and stop animations. Source Code: github.com/TacticDevGit/Animations-In-WPF
What is ChatGPT And How You Can Use It👨‍💻
มุมมอง 1.1K2 ปีที่แล้ว
What is ChatGpt?, This video will explore the capabilities of ChatGPT, an AI language model by OpenAI ,ChatGPT is game changer.ChatGPT is a powerful and versatile chatbot that can help you write code, in this video I take a look at how ChatGpt works and the benefits of incorporating Chat gpt into your development process, Chat gpt can assist developers in generating code snippets, In this video...
Exploring ChatGPT
มุมมอง 1.3K2 ปีที่แล้ว
Exploring ChatGPT
Overriding Code First Conventions with Data Annotation And The Fluent API [3 of 3]
มุมมอง 2.4K2 ปีที่แล้ว
Overriding Code First Conventions with Data Annotation And The Fluent API [3 of 3]
Configuring Entity Framework Code First [2 of 3]
มุมมอง 6K2 ปีที่แล้ว
Configuring Entity Framework Code First [2 of 3]
What is Entity Framework Intro [1 of 3]
มุมมอง 11K2 ปีที่แล้ว
What is Entity Framework Intro [1 of 3]
How To Use Font Icons in WPF
มุมมอง 11K2 ปีที่แล้ว
How To Use Font Icons in WPF
How to Create a Resize Adorner in WPF
มุมมอง 9K2 ปีที่แล้ว
How to Create a Resize Adorner in WPF
Drag Drop in WPF
มุมมอง 7K2 ปีที่แล้ว
Drag Drop in WPF
Func,Action,Predicate Delegates in C#
มุมมอง 10K2 ปีที่แล้ว
Func,Action,Predicate Delegates in C#
What are Delegates in C#
มุมมอง 1.3K2 ปีที่แล้ว
What are Delegates in C#
Password Hashing and Salting in .NET C#
มุมมอง 13K2 ปีที่แล้ว
Password Hashing and Salting in .NET C#
Create Excel Spreasheets in WPF
มุมมอง 6K2 ปีที่แล้ว
Create Excel Spreasheets in WPF
Sidebar Navigation In WPF
มุมมอง 46K2 ปีที่แล้ว
Sidebar Navigation In WPF
C# Implicit Constructor
มุมมอง 1.5K2 ปีที่แล้ว
C# Implicit Constructor
WPF Commands Explained [2 of 2]
มุมมอง 2.5K2 ปีที่แล้ว
WPF Commands Explained [2 of 2]
WPF Commands Explained [1 of 2 ]
มุมมอง 9K2 ปีที่แล้ว
WPF Commands Explained [1 of 2 ]
Data Grouping In a ListView [WPF]
มุมมอง 13K2 ปีที่แล้ว
Data Grouping In a ListView [WPF]

ความคิดเห็น

  • @Vitorgasparete
    @Vitorgasparete 9 วันที่ผ่านมา

    Very nice! I made some adjusts to my code, but the idea was the same! Very tks!

    • @Vitorgasparete
      @Vitorgasparete 9 วันที่ผ่านมา

      Just a observation for who is trying to do the same. I used Settings.settings to save user preferences. I load this preferences on a class typeof ResourceDictionary constructed by App.xaml. Very simple way just change the Source Property of the ResourceDictionary to change the reference to specific theme do you need.

  • @truckturner3622
    @truckturner3622 9 วันที่ผ่านมา

    very nice quick description.

  • @letemps8792
    @letemps8792 14 วันที่ผ่านมา

    tu es courager mais il faut que tu apprenent

  • @absolutezerogaming8717
    @absolutezerogaming8717 14 วันที่ผ่านมา

    amazing explanation thanks

  • @johnc508
    @johnc508 14 วันที่ผ่านมา

    Hi, This is just what I need so I am trying to port it to MVVM (more specifically Avalonia using ReactiveUI) but having issues pulling things from your code-behind MainWindow.xaml.cs into the ViewModel style. You havent done this have you? I gather UISettings.cs needs to be solely the things that will get stored in the config file, is that correct?

  • @EsteanSM
    @EsteanSM 17 วันที่ผ่านมา

    Awesome video. Thanks for sharing!

  • @osama_mhana
    @osama_mhana 22 วันที่ผ่านมา

    Hello I have a problem writing Model in entityFrameworkCore I want to create several relationships with the child table. The user interface is always not updated until the program is restarted

  • @ugayashan8659
    @ugayashan8659 23 วันที่ผ่านมา

    I really enjoyed watching your content, could you please work on a tech build like spotify or a clone of something which is very amazing and has good looking UI, super excited :)

  • @magickomchanell4556
    @magickomchanell4556 23 วันที่ผ่านมา

    I really like how well-structured your WPF tutorial is, great job!

  • @Hatkeinhals
    @Hatkeinhals 23 วันที่ผ่านมา

    Very nice. Thanks for your content. And your explaining-style is really nice. Have you ever thought about making an explanation of WinUI3 with MVVM?

    • @TacticDevs
      @TacticDevs 23 วันที่ผ่านมา

      @@Hatkeinhals I will have a look at text I might just make some videos on that

    • @Hatkeinhals
      @Hatkeinhals 23 วันที่ผ่านมา

      @@TacticDevs oh that would be nice. I think WinUI 3 uses Windows 10/11 Controls and Themedesign. (that might make some designing easier)

    • @HMO-Soul
      @HMO-Soul 23 วันที่ผ่านมา

      That is a nice idea i used winui3 but it's lacking in some areas sadly

  • @nyendwa
    @nyendwa 23 วันที่ผ่านมา

    I haven't seen you post in a long time. Good to see you back

  • @Ddos2212
    @Ddos2212 26 วันที่ผ่านมา

    Thank you, you are amazing

  • @mikehankey8666
    @mikehankey8666 28 วันที่ผ่านมา

    Thanks for the effort, finally someone that ventures from the round button example. Good job!

  • @sunjaykalsi3266
    @sunjaykalsi3266 หลายเดือนก่อน

    So many videos are too fast, some of us want to follow along. Your voice is clear and your pace is lovely, thank you!

  • @Vandemataram-
    @Vandemataram- หลายเดือนก่อน

    Thankyou for the nice tutorial

  • @GeraldHaider
    @GeraldHaider หลายเดือนก่อน

    Well ... this is not valid MVVM because, when you deal with dialogs or windows directly within ViewModels. Usually you have separate assemblies for M V and VM. And in VM there are no references to WPF. Hence you cannot call any something.Show() Method. Instead you should have called some kind of "addUserService.Add()" or so.

  • @novatechnologies-lk
    @novatechnologies-lk หลายเดือนก่อน

    Thanks

  • @magickomchanell4556
    @magickomchanell4556 หลายเดือนก่อน

    this is a hidenn gems! thanks you so much Tactic Devs

  • @_SkyDancer
    @_SkyDancer หลายเดือนก่อน

    What about "Cancel" settings after user made a changes? How the revert changes if the user presses "Cancel" button?

  • @MaxiKing913
    @MaxiKing913 2 หลายเดือนก่อน

    so much no goes in here. no thanks

  • @disown342js
    @disown342js 2 หลายเดือนก่อน

    thank you

  • @BobHoomes
    @BobHoomes 2 หลายเดือนก่อน

    Thank you.

  • @jarvisavinash
    @jarvisavinash 2 หลายเดือนก่อน

    Please make more videos like these

  • @jarvisavinash
    @jarvisavinash 2 หลายเดือนก่อน

    Hello, Please make more videos on .NET Core

    • @jarvisavinash
      @jarvisavinash 2 หลายเดือนก่อน

      These are the best videos on youtube.

  • @jarvisavinash
    @jarvisavinash 2 หลายเดือนก่อน

    Hello, Please make more videos on .NET. these are some of the best videos on youtube.

  • @xiyaowong8229
    @xiyaowong8229 2 หลายเดือนก่อน

    👍🏻

  • @fooballers7883
    @fooballers7883 2 หลายเดือนก่อน

    Excellent tutorial......really appreciate your effort. thank you.

  • @KasaD-qm6qo
    @KasaD-qm6qo 2 หลายเดือนก่อน

    thank you🌹You save my life🫶

  • @Ssalmma-787
    @Ssalmma-787 3 หลายเดือนก่อน

    thanks soo much

  • @wildniscamper7276
    @wildniscamper7276 3 หลายเดือนก่อน

    awesome done bro!!! you skipped all the boring parts without losing the focus and explained everything clear and straight forward. easy to follow and learn whats going on. very good video editing skills and c# skills. cheers from bavaria

    • @PoggersFloppa
      @PoggersFloppa 2 หลายเดือนก่อน

      hey do you know how i would add an already existing page to this without the page messing up because of the column definitions?

    • @wildniscamper7276
      @wildniscamper7276 2 หลายเดือนก่อน

      @@PoggersFloppa ask chatgpt😜 i would say, there is a lot of ways to to that, but im not a programmer. i'm struggling with the reachability of variables with bindings and all that stuff.. if you want to include a whole page to your project, just add a new element with right click on the projectfolder in VS and than you have to adjust the namespace and maby something more...that part can be tricky but it shoudln't... anyway thats all i can "help" ya.. cheers from bavaria✌

    • @PoggersFloppa
      @PoggersFloppa 2 หลายเดือนก่อน

      @@wildniscamper7276 oh okay, thanks anyway! cheers from down under

    • @wildniscamper7276
      @wildniscamper7276 2 หลายเดือนก่อน

      @@PoggersFloppa no worries bra✌️ try it with chatgpt.. just copy everything and put it in.. sometimes it takes a few times but i got a full ui with 9 pages modbus tcp to sps with webcam interface... i almost got it as a MVVM but i mixed binding with set velues and to get all that in seperate files messes up my code and i can't handle all the problems than😂😭 its a powerfull tool but as i said..easy stuff can be very hard...✌️

    • @PoggersFloppa
      @PoggersFloppa 2 หลายเดือนก่อน

      @@wildniscamper7276 aight thanks

  • @vukedd
    @vukedd 3 หลายเดือนก่อน

    Nicely explained, Thank you very much!

  • @hasooooomi52
    @hasooooomi52 3 หลายเดือนก่อน

    what is the editor you use to edit this video

    • @TacticDevs
      @TacticDevs 3 หลายเดือนก่อน

      after effects

    • @hasooooomi52
      @hasooooomi52 3 หลายเดือนก่อน

      @@TacticDevs thank you

  • @msontrent9936
    @msontrent9936 3 หลายเดือนก่อน

    Never reference a view from a view model class. It undermines the whole concept of MVVM ...

  • @automation_jeff
    @automation_jeff 3 หลายเดือนก่อน

    Really well-done video, I was looking at using Prism for navigation until I ran across your video, this is all I wanted to do and it's a whole lot easier. You took your time explaining what you were doing and why, kudos. Thank you👏

  • @Mysteria9
    @Mysteria9 3 หลายเดือนก่อน

    Fantastic explanation! Thank you kindly.

  • @CAPS_AMERICA
    @CAPS_AMERICA 3 หลายเดือนก่อน

    THANK YOU FOR TAKING TIME TO EXPLAIN THE DETAILS OF THIS, LIKE THE ICOMMAND AND OTHER STUFF, I'M NEW TO WPF, AND I APPRECIATE THE WAY YOU TEACH, I HOPE YOU CREATE MORE VIDEOS, ESP. ABOUT MVVP WITH WPF

  • @CAPS_AMERICA
    @CAPS_AMERICA 3 หลายเดือนก่อน

    YOU HAV A GOOD WAY OF TEACHING. MAY I SUGGEST YOU CREATE MORE WPF PROJECTS FROM SCRATCH, LIKE INTRODUCING THE UI, THEN THE MODELS, THEN THE USAGE OF MVVM? MAYBE 1 OR 2 HOURS LONG PROJECT WILL BE GREAT! THANK YOU!

  • @solvedplus858
    @solvedplus858 3 หลายเดือนก่อน

    very good, many thanks

  • @rudolphvancoppenhagen2466
    @rudolphvancoppenhagen2466 4 หลายเดือนก่อน

    Very well explained! I have struggled with validation in WPF for a long time. Do you have videos on validation in WPF using EF? I would like to achieve the same result but with a database and I'd like to use the field sizes etc from the database.

  • @KhoaNguyen-mv2mu
    @KhoaNguyen-mv2mu 4 หลายเดือนก่อน

    Much appreciated. I can grasp this pattern now.

  • @jangansotoy
    @jangansotoy 4 หลายเดือนก่อน

    Hi there, do this project has source or tutorial?

  • @rj02viren55
    @rj02viren55 4 หลายเดือนก่อน

    can you please send the github link so that i can access the code from their ..?

    • @TacticDevs
      @TacticDevs 4 หลายเดือนก่อน

      i will try to find the source code on my hard and share it with you on github

    • @rj02viren55
      @rj02viren55 4 หลายเดือนก่อน

      @@TacticDevs okk thank you bro .... But please do that asap .

  • @rj02viren55
    @rj02viren55 4 หลายเดือนก่อน

    it's not working bro you are "very chalak bro"

  • @vinnypassmore5657
    @vinnypassmore5657 4 หลายเดือนก่อน

    Thanks for sharing, good video. For those who are using Font Awesome 6 now and have the Fonts file nested in a folder/folders then this works well (FontFamily="Resources/Fonts/#Font Awesome 6 Free Solid 900") and notice the removel of the dashes in the font awesome file name!

  • @mkama-u5p
    @mkama-u5p 4 หลายเดือนก่อน

    This is absolutely the best introduction to EF! Awesome.

  • @solvedplus858
    @solvedplus858 4 หลายเดือนก่อน

    very good tutorial Many thanks

  • @AmirRobo
    @AmirRobo 4 หลายเดือนก่อน

    thanks, it's great.🤩

  • @kopilkaiser8991
    @kopilkaiser8991 5 หลายเดือนก่อน

    Man you are a great teacher. Thank you 😊❤️

  • @Omar.bin.khattab
    @Omar.bin.khattab 5 หลายเดือนก่อน

    thanks for your time and effort