Databinding an enum to a ComboBox in WPF, filtering some of enums
Posted
by Paulo
on Stack Overflow
See other posts from Stack Overflow
or by Paulo
Published on 2010-05-01T19:08:43Z
Indexed on
2010/05/02
2:47 UTC
Read the original article
Hit count: 285
Hello everyone.
I need to bind an enum to a combobox that is inside a DataGridTemplateColumn, but only some of the options that the enum has.
Example:
Enum options:
Unknow, One, Two, Three, Four, All
Bindable ones: One, Two, Three, Four
Any way to do this?
Many thanks.
Best regards
© Stack Overflow or respective owner