C# WPF Tutorial - ComboBox, ItemSource and Templates

  Рет қаралды 51,733

ToskersCorner

ToskersCorner

Күн бұрын

This is dedicated content to the ComboBox in WPF. In this we learn how to use the ComboBox and the many essential properties it has. We cover creating ComboBox items in our XAML, Binding the ItemSource property, Creating ItemTemplates and also playing with the ItemContainerStyle. This, unlike other control episodes, is covered in great detail and below will be provided code if you wish to follow along. Please comment if you have any questions.
Creating Items: 0:50
Items Source: 4:15
Templates: 8:00
Cursor Style: 11:40
Get this episodes code:
www.toskerscorn...
*Support me on Patreon
www.patreon.co...
** Tip Jar **
Paypal: toskerscorner@outlook.com
BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu
ETH: 0xFf79A145e1ED6F538607Ec374968e605cbea758b
BCH: qqpgrnzuhc5hav4e79m8nfhmugs46jtl0ujxcu0tj5
LTC: MHXQmJA3hkwTPeArB9QPNkcLiHQx723yMb

Пікірлер: 23
@shvideo1
@shvideo1 5 ай бұрын
Great job on the video Tosker. Your approach is very intuitive and I learned a lot following your logic. Thanks.
@zohar127
@zohar127 7 жыл бұрын
Thank you for these extremely informative videos. They've been a big help for me. Your presentation and format are perfect.
@rexbrown2752
@rexbrown2752 7 жыл бұрын
This was an uncommonly Great video. The content covered more than I really needed but I am a relatively new to this world and it contained all the info I needed to actually make it work. Besides I may actually need the extra stuff when I get further down the track :>). I have looked over several other posts by other talking about how to do this but none came close to making it as easy to follow. Thanks a bunch!
@studstud5498
@studstud5498 7 жыл бұрын
I like your teaching or explaining style. Please add more videos
@ToskersCorner
@ToskersCorner 7 жыл бұрын
Glad to hear, I just finished school finals so I should have to time to pump out more videos!
@ivandrofly
@ivandrofly 3 жыл бұрын
11:28 thanks for the tip on combobox itens styling
@evedickson2496
@evedickson2496 2 жыл бұрын
Thank you.. really helpful and resolved an issue for me :-)
@nillekaes543
@nillekaes543 8 жыл бұрын
awesome tutorials
@ToskersCorner
@ToskersCorner 8 жыл бұрын
Thanks, Ben. I hope you continue to enjoy them. :)
@hiromijorge400
@hiromijorge400 4 жыл бұрын
hi and thanks for the tutorial, but im curious about how can we get the value of the clicked combobox, thanks.
@patriciagusen1049
@patriciagusen1049 6 жыл бұрын
Great tutorial, it helped me a lot!
@ajaysingh-zo7hc
@ajaysingh-zo7hc 4 жыл бұрын
Thanks It was useful
@MdImran-qb3bm
@MdImran-qb3bm 4 жыл бұрын
can you please upload a video showing ...how to validate combobox using idataerrorinfo showing validation message under it..
@CpcBob
@CpcBob 7 жыл бұрын
Yes, Please do series on Styles. I am very new to Wpf/C#. Your video's are very helpfull. My MainWindow has many Button's to open Other windows and I've been trying to get App.xaml to globally control all the Windows Color Fg Bg, Textbox, Textblock, ComboBox etc. Can't figure out how to set a ComboBox Background & Foreground. ComboBoxItem's works fine. Also have same problem with DataGrid's. Much Thanks
@MrApaHotel
@MrApaHotel 7 жыл бұрын
Do you recommend any book about WPF?
@theofficialamt6626
@theofficialamt6626 3 жыл бұрын
Can you make a video Visual Studio Windows Form on saving and loading multiple Comboboxes whatever the user selects in each combobox they can click a button to save to a specific location and have a load button to find the exact file and it will populate each combobox they changed.
@ianfinlayAustralia
@ianfinlayAustralia 8 жыл бұрын
HI - Again great videos. Suggestion for new content: - best practice for display of error messages for text boxes constrained by length, value range or regex limits - multi-threading - semaphore passing between graphics and threads - Nlog integration - try catch handling - wpf as a service, taking to a wpf front end appl via tcp/ip - coming from winform mimics background, dragging an icon around a page (wth transparency) - config file to store settings XML serialization versus settings
@ToskersCorner
@ToskersCorner 8 жыл бұрын
Will add these ideas to my notepad. My semester in school starts tomorrow, so I'll be sticking to simple small tutorials for the time being. Some of these fit that, so I will keep them in mind. :)
@VinuP2023
@VinuP2023 6 жыл бұрын
Hello Sir, wound you please tell me How can I achieve Auto suggest kind of functionality in Combobox. I tried IsEditable=true, Readonly=false. If I type 'Jo' in combobox drop down, list of names containing Jo like Joe Rege, Regan Joe, Jordan have to appear from list of bound data. Thanks much
@juanpablocastro2518
@juanpablocastro2518 8 жыл бұрын
Great !
@safah202
@safah202 5 жыл бұрын
Thanks for the video its well explained can you please make an video on binding a complex object list to a combo box...
@YBXtreminal
@YBXtreminal 3 жыл бұрын
instead of List, it much better to use ObservableCollection.
@Cemmet1995
@Cemmet1995 Жыл бұрын
Now i need to know how many ComboBoxes you can fit inside a ComboBoxItem 😅
XAML WPF - Styles Part 1, Window Resources
11:53
ToskersCorner
Рет қаралды 39 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
WPF Controls with MVVM: ComboBox
37:04
IAmTimCorey
Рет қаралды 109 М.
Is LEARNING WPF still WORTH it in 2023?
10:59
tutorialsEU
Рет қаралды 60 М.
WPF Controls: Learn basic WPF controls in C#
29:48
IAmTimCorey
Рет қаралды 182 М.
WPF Controls | 26 - ComboBox | HD | VS2019 | ComboBox in WPF
30:50
tips'n tricks (Tips&Tricks)
Рет қаралды 8 М.
C#/WPF Building Custom Controls
1:32:20
Kevin Bost
Рет қаралды 21 М.
In UNDER 10 Minutes - WPF Binding Made Easy!
8:55
Dev Leader
Рет қаралды 1,4 М.
C# WPF - Commands [Part 1 Intro + Singular Commands]
17:32
ToskersCorner
Рет қаралды 50 М.
WPF INotifyPropertyChanged and Databinding
14:30
Payload
Рет қаралды 42 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН