How do you put a list of objects on a WPF form dynamically so that if you add or remove an entry, the controls for it are added or removed? In this installment of the WPF Controls mini-series, we are going to look at one possible solution, which is to use the ItemsControl. This is one of those controls that is actually rather easy to use but is, at the same time, also confusing to a lot of people. Let’s clear up that confusion.
Full courses:
Source Code:
Patreon:
Newsletter signup:
0:00 - Intro
1:42 - Demo app overview
3:25 - Creating ItemsControl
5:40 - Displaying data: ItemsTemplate
11:52 - Note on data layout
13:41 - Changing layout: ItemsPanelTemplate
17:12 - Changing data set: add and remove buttons
27:42 - Bugs to expect when changing data
30:12 - Summary and concluding remarks
Thanks to Ralfs HBK for the chapter breakdown
1 view
14
3
7 months ago 00:04:06 15
MOC P1 hypercar 1:8 - w/ manual + RC instructions
8 months ago 00:54:43 1
WPF C# Professional Modern Chat App UI Tutorial
10 months ago 00:20:35 2
Linear Gradient Brush As Button Background Styles - C# WPF Microsoft Visual Studio | Programming
10 months ago 00:35:18 2
Дети дотнета и сын wpf’a
12 months ago 00:31:16 1
💢 S7 1200 As Modbus Tcp Server V4.2
12 months ago 00:22:42 1
💢 S7 1200 As Modbus Tcp Client V4.1
12 months ago 00:06:17 1
Speed of deterioration of humanitarian conditions in Gaza ‘absolutely terrifying’: WPF Director
1 year ago 00:23:11 1
WPF & MVVM/ Modern Main UI Design (Part 2/2) - Header Design, Open & Switch Child Views
1 year ago 00:28:40 4
WPF & MVVM/ Modern Main UI Design (Part 1/2) - Repository of Styles, Menu Buttons, Icons, Drag...