WPF Controls: Learn basic WPF controls in C#

preview_player
Показать описание

Want to see a full C# application built from scratch?

In this video, I will introduce you to some of the common WPF controls. Included will be the ComboBox, ListBox, StackPanel, WrapPanel, ScrollViewer, Image control, MediaElement, and more. After watching this video, you should be able to get started building something great.

0:00 - Intro
0:29 - ComboBox
2:53 - ComBobox Data: Creating a List of T
4:06 - ComBobox Data: Assign a List of T to the ComboBox and display property of T
9:37 - Image
12:18 - MediaElement
14:22 - StackPanel
18:22 - WrapPanel
20:44 - ScrollViewer
23:05 - StackPanel inside ComboBox
26:18 - Item Parent and placement
28:20 - Summary and concluding remarks

Thanks to Ralfs HBK for the chapter breakdown
Рекомендации по теме
Комментарии
Автор

I spent a ton of time trying to figure out the ins and outs with the newer Win UI3. There was no beginner-friendly resources, especially ones that focussed more on the 'how' and 'why' instead of 'what' when it comes to XAML. I'm so glad I took a step back to WPF, as your tutorials are very comprehensive and put many of the principles into perspective. A few years late, but I just wanted to say thank you so much!

Maddy-cyfu
Автор

Even 3 years later these are the best you can find

domipetocz
Автор

0:00 - Intro
0:29 - ComboBox
2:53 - ComBobox Data: Creating a List of T
4:06 - ComBobox Data: Assign a List of T to the ComboBox and display property of T
9:37 - Image
12:18 - MediaElement
14:22 - StackPanel
18:22 - WrapPanel
20:44 - ScrollViewer
23:05 - StackPanel inside ComboBox
26:18 - Item Parent and placement
28:20 - Summary and concluding remarks

RalfsBalodis
Автор

Hi Tim, just getting back into WPF from a 10 year break, your intro videos are just the job. Thank you. Cheers Dave

DaveDickens
Автор

Very practical and you pick up so many gotchas that many beginners would otherwise be wondering about. Thanks for the amazing content Tim.

nickeax
Автор

You are brilliant tutor. This is my first video of WPF, infact new to C# but your tutorial is really helpful for a beginner like me to start with.

RaviShankar-fqex
Автор

As an old dinosaur doing winforms for almost 20 years, thank you it is a good introduction to WPF. Will switch to WPF soon

Wilhuff
Автор

Thank´s a lot... I'm trying to move from VBA to VSTO and XAML... You are making this task easy!!
Hugs from Brazil!!

ThiagoCaldasDev
Автор

played with WrapPanel Inside the ScrollViewer, when you disable the default to Disable, the WrapPanel with Orientation="Vertical" works just fine again :) if you think about it, as long as you can scroll, the WrapPanel dont need to Wrap, first when the Scrolling in Vertical-Side is disabled, it's need to wrap and does so

AlexanderBaranski
Автор

Awesome news about the WPF-port for "From Start To Finish" - can't wait for that one . . .
Good work so far!

VaderFaderVader
Автор

Wow!!! Just so in love with WPF now... Thank you Tim!!!

jairosnyirenda
Автор

your teaching method is excellent. just waiting your WPF update to your original course....thanks for passing the knowledge

StreetBladerBloke
Автор

If somebody has a problem with playing video ( 13:15 ) there is a solution:
1. Right click your video file in the solution explorer and chose "properties".
2. Make sure Build Action is set to "Content".
3. Make sure Copy to output is set to "Copy Always" or "Copy if Newer".

thejewelofthenile
Автор

I just clicked the Like button, but where is the love button :D!! very good video. I'm working with WPF and MVVM pattern also for a work project, but with this videos I'm filling up my gaps, I really trust that the tutorial will be more complex (the future tutorials) so thanks for your time. !

Matrixrms
Автор

Notes to myself;
6:20 : To connect a combobox to a propertie Firstname o/t class "Person"; add <ComboBox.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding Firstname}" />
20:36 : Scrollviewer

tomdewilde
Автор

I like the Scroll viewer. thanks for showing these controls! :)

josephmarsh
Автор

Really awesome features, good video! Looking forward seeing datagridview-ish controls.. I am hyped seeing only the controls in this videos.

jannickbreunis
Автор

6:30 three days i ve been stuck on this, tried all sorts of shit to display the fkin names on list box, then i figured it out by using linq i sorted lists.Name option, then when i tried to deleted the particular item i coudnt able to get the id of that particular item, . Engneering is a hard if not guided in a right way, thanks for his sir...i will watch all of your videos and siply write a comment, thats all i can do atm

slowbrain
Автор

I spent my sweet time messing around with the stackpanel and image elements before finally moving on XD

surgicalmaterials
Автор

Thank you very much. This is very informative

rodelioliwag