How to bind an enum to a ComboBox control | C sharp tutorial | Windows Form

preview_player
Показать описание
#enumCsharp #enumandcombobox #windowsform
In this tutorial I am showing what are some good practice to create anum and then how to bind an enum to a combobox. The tutorial describes the two different ways to bind enum to combobox. Latter in the tutorial you will learn how to retrive the enum value from the combobox.

Reference and further reading
Binding an enum to a WinForms combo box, and then setting it.

adding enum values to a simple combobox

Using Enums in Combobox

How do i show enum values in a combo-box?
How to bind an enum to a combobox control in WPF?

Loading a combobox with an enum and binding to it
Рекомендации по теме
Комментарии
Автор

This video was fantastic, really appreciate an experienced voice with Windows forms! I've been looking for this solution for about 3 hours now. This video was exactly what I was looking for.

McFlyT