Is it possible to do this? I need to use:
this.ControlName.DataBindings.Add (...)
so I can't define logic other than bind my enum
value to a bool
.
For example:
(DataClass) Data.Type (enum)
EDIT:
I need to bind Data.Type
which is an enum to a checkbox's Checked
property. So if the Data.Type
is Secure
, I want the SecureCheckbox
to be checked, through data binding.