
Master fundamentals of WPF by learning how XAML and C# code-behind interact to build UIs. Explore basic controls, data binding, and navigation through exercises to become a proficient WPF developer.
Create a new WPF project, design the main window with XAML, and build a Hello world app using a label and a button; run it and customize text.
Learn XAML, the Extensible Application Markup Language in WPF, to define GUI elements with opening and closing tags and properties, and connect them to C# code-behind.
Explore windows, xml namespaces, and xaml in wpf by examining main window, window properties, partial classes, code-behind, and the designer.
Explore the WPF boilerplate and the App.config file, learning how to define dotnet runtimes, encoding, and connection strings for database access, plus startup and global resources in App.xaml.
Name UI elements in WPF and access them from the code-behind to modify properties. Change a button's font size and content at runtime using its name.
Compare dotnet core and dotnet framework for WPF apps, highlighting cross-platform performance, standalone use, legacy APIs, and dotnet five’s unification for cross-platform development.
Explore the WPF controls chapter by examining buttons, labels, images, text boxes, and text blocks, and learn how to adjust their properties to build foundational interfaces.
Demonstrate the text block in XAML, applying inline formatting, line breaks, and links. Learn to adjust wrapping, trimming, color, and spans with code behind later.
Access and modify a text block from the code-behind to change text, color, and other properties, create new text blocks with inlines and runs, and apply text wrapping for layout.
Explore the WPF label: use the content property to host text or other controls, like a stack panel with an image, plus borders, margins, and focus with a text box.
Explore how to implement WPF text boxes, adjust height and font size, apply margins and wrapping, enable spell check, set background and foreground, and toggle read-only mode.
Create a button in WPF inside a stack panel, set its content and size, and use click events to modify a label, its foreground and font size, and show tooltips.
Learn how to implement and style radio buttons in WPF, create radio groups, and handle is checked events to reflect selections.
Learn how to implement and customize checkboxes in Windows presentation foundation, including multi-select toppings, three-state checkboxes, parent-child relationships, and handling checked and unchecked events to update UI.
Create wpf password box demo with a text box and labels, mask input, customize font and margins, and learn about max length and the lack of data binding in mvvm.
Explore the WPF image control to display and scale images in a stack panel, using a resource image and demonstrating relative pack URI handling for reliability.
Explore the slider control in WPF, configure min and max, ticks and snap to tick; display its value and bind font size with data binding and triggers.
Explore how to use a WPF calendar control: resize with a viewbox, set an initial date, display selected date in a text block, and respond to SelectedDatesChanged to update UI.
Explore date picker in a WPF project, including default and manual selected dates and the popup calendar. Handle selected date changed event and blackout dates with a calendar range.
Learn how to implement WPF expanders to reveal and hide content, customize the expander header, and build interactive FAQs with events and styled layouts.
Explore the panels chapter to learn how containers structure user interfaces in WPF. Arrange UI elements with panel types, placing buttons in rows, columns, or grids to control layout.
Explore grids in WPF and learn to define columns and rows, set widths with pixels, stars, or auto, and place controls using grid column and grid row properties.
Learn how to use grid spanning in WPF to make elements cross multiple rows and columns by applying column span and row span, enabling flexible, width-aware layouts.
Explore wrap panels and how children take only space they need, wrap to next row as space runs out, and how row height follows tallest item, depending on orientation.
Explore how a dock panel positions user interface elements by docking to the top, left, right, bottom, or center with the dock property, and control space using last child fill.
Explore how to position elements on a canvas in WPF by setting canvas left, top, right, and bottom; learn to layer with ZIndex and control opacity.
Create a cat years calculator in WPF using XAML and code-behind in C#. Enter age and press enter to compute human years (1→15, 2→24, +4 per year) with error handling.
Learn to build a WPF UI in C# without XAML, using code-behind to create text blocks, text boxes, and a background image. Explore dynamic changes and binding ideas for separation.
Explore how to use menus in WPF to create a top menu bar, access settings, and perform actions through menu items.
Explore the WPF menu control by docking a top menu, adding header and subitems like new, open, and clone repository, and wiring a click event to show a message box.
Learn to build a toolbar with a toolbar tray in a WPF doc panel, adding delete buttons, a text box, and a font-size combo box with events and tooltips.
Learn to implement context menus in WPF, attaching menus to controls like text boxes and buttons, with bold and italic options, checkable items, icons, and event handlers.
Implement a dock panel layout with a bottom status bar and a top button, add a progress bar that increases by ten on each click and updates loading text.
Open a file dialog in a WPF app to select a text file, load its contents into a text box, edit, and prepare to save later.
Configure the open file dialog to start in a folder via the initial directory property and environment special folders, and apply a filter for text files (*.txt) or all files.
Explore data binding in depth to connect data to the user interface elements, enabling automatic updates with minimal code. See step by step examples to master data binding in WPF.
Learn data binding in WPF, synchronizing UI with data using one-way and two-way bindings. Bind lists and enums to UI controls, enjoying cleaner code and potential runtime errors to watch.
Bind a list box to an observable collection of numbers and auto-update the UI as items are added or removed. Set the main window as the data context.
Bind a combo box to an enum in WPF via an object data provider. Demonstrate using resources and get names to populate the list without code-behind.
Master data binding in WPF by binding car objects to a list box. Show owner and car type with a data template, from a class via get cars.
Learn to implement navigation in WPF by using pages inside a frame, manage backstack and back button, and navigate between pages from the page itself using events.
Explore how WPF events enable a publisher to notify subscribers during user actions, and learn to create, consume, and synchronously handle them with delegates.
Explore rooted events in WPF, including bubbling, tunneling (preview), and direct events, and learn publisher and subscriber roles with practical button examples.
Explore how pages work in WPF: use frames to host pages, navigate with the navigation service, and manage history with keep alive.
Navigate between pages in WPF by hosting pages in a frame and switching content with buttons, using a backstack to move back and forth in a simple two-page demo.
Master back and forward navigation in WPF by using the navigation service to check can go back or forward and call go back or go forward on a page stack.
Create a WPF user control with plus and minus buttons, display a value, and use delegates and events to enforce min and max thresholds, propagating events to the main window.
Learn to implement navigation in a WPF app by using delegates and events to move between pages from within a page, wiring click events to the main window frame.
Explore the mixed concepts chapter to cover important but unsuited topics for other chapters, while inviting ideas and hinting at related YouTube content for WPF learners.
Create WPF animations using XAML only, with event triggers such as loaded and mouse enter, running a double animation that fades opacity over time without code-behind.
Explore WPF animations with C# in code-behind by fading a grid's opacity using a double animation, triggered on load and on mouse enter, building on XAML concepts.
Understand how WPF commands decouple the UI from logic using command bindings. Invoke the close, copy, and paste commands with built-in application commands, and manage can execute and executed handlers.
Explore how to use linq in a wpf app to filter a list of integers into odd or even numbers, display results, and remove filters.
Sort a list with Linq using order by and order by descending, then toggle ascending or descending with buttons while filtering odd or even numbers.
Build a text-to-speech app in WPF by wiring a text box to a speech synthesizer via a NuGet package, and control voice, volume, and rate with a speak button.
Explore building and reusing custom user controls in a WPF app, grasp the MVC pattern, and craft a scroll view-like UI with swipe-to-load-more content.
Learn to create and reuse user controls in WPF, grouping elements into reusable UI components. Reference, nest, and use these controls in Windows and pages reduce code and boost maintainability.
Set up a WPF project and build a first custom user control for posts, including icons, a like mechanism, and a scroll viewer-driven reusable layout.
Master the MVC pattern—model, view, and controller—and how they separate data, the user interface, and logic in WPF, with the view handling the interface and the controller coordinating updates.
Build a post liked by user control in WPF using a horizontal stack panel with liked by text, a close friend, and the others count. Integrate into the main window.
Refactor a WPF project by creating a user controls folder, building a picture post component with image display, enabling double click interactions, and mvc-style modeling with a picture post model.
Learn to add a video post as a reusable WPF user control, powered by a video post model and a mock database, with a media element and double-click like.
Enable infinite scrolling by using a scroll viewer, handling the scroll changed event, and generating five new picture posts when vertical offset plus viewport height triggers a 400-pixel buffer.
Generate random post images in the WPF app by wiring a public picture post model to the image source and selecting a random image from the icons folder.
Explore dependency properties in WPF, learning how they enable data binding, animations, styles, and triggers, and see how to declare and use them in XAML for full UI control.
Create a simple wpf app to demonstrate dependency properties by changing a text block's foreground on mouse hover with a style trigger, and explore styling, data binding, and animation.
create a custom WPF dependency property named awesomeness on a user control, enabling binding and styling. bind to a label and turn red at 10,000 when increased.
Finally, my WPF Guide For Beginners is available to you :)
A lot of my students from the C# Masterclass course asked me to build a WPF course, and here we go, the course is live now and you can get it now and update your skills along with learning something new and potentially affecting your career as a developer.
The course will cover everything you need to know about the Windows Presentation Framework (WPF). You will learn what XAML is and how it is used to create modern interfaces with the help of C#.
You will build a Windows store application that makes use of interface items most commonly in use today!
We are even going to use the incredible third-party library Mah-apps, which allows us to built beautiful windows metro-style applications.
What you will find inside the course?
You will start with the Basics of WPF with simple controls, panels, things like buttons, and text fields to ease you into the topic and showing you how XAML works.
Then you will get the demos and presentations covering more complex topics such as
Custom User Controls
Data Binding
Events and Delegates
Animations
Commands
and Navigation
And of course, we will build something huge together. In my courses, you not only learn something, but you use it in practice, so we will build a Windows store application UI that makes use of interface items most commonly in use today.
Also, be sure, we will be here for you on every step, starting with my explanations and additional materials with step-by-step instructions and afterward, if you will have troubles or questions - we will answer them in the Q&A section.
Are you ready to become an even better developer? Are you ready to be equipped with amazing new skills? And become much more valuable for your employer or your customers? Then join me in this WPF journey
THIS COURSE FOR?
This course is for C# developers with at least 3 months of experience. Check out my Complete C# Masterclass before starting this course!
30-DAY FULL MONEY-BACK GUARANTEE
This course comes with a 30-day full money-back guarantee. Take the course, watch every lecture, and do the exercises, and if you feel like this course is not for you, ask for a full refund within 30 days. All your money back, no questions asked.
ABOUT YOUR INSTRUCTOR:
My name is Denis Panjuta and in my courses, I have taught over 200.000 students how to code. I have a Bachelor of Engineering at the University of Applied Sciences in Constance (Germany). I love teaching and creating high-quality courses. My mission is, to teach programming to over ten million people!