A strongly-typed combobox control for enum values(kirillosenkov.blogspot.com)
submitted by
KirillOsenkov(570) 4 years, 4 months ago
... or why do we need the "where T: enum" generic constraint.
Kirill Osenkov posts a working sample of a combobox for choosing a value from enum's available values. It is automatically filled with values of the enumeration and has a strongly typed Value property.
|category: C#
|Views: 148
tags:
Enum ComboBox C# Generics another
Everyones tags:
Your Tags: