Posted 13 years ago
by Pat Maneely
-
Software Engineering Manager,
Cobham Aerospace
Version: 11.1.0545
![Avatar](https://secure.gravatar.com/avatar/21b243dff3b345f7a45e9c730a4b6b4b.jpg?s=64&d=identicon&r=g)
I have a Byte property in the class that is bound to to the propertyGrid. It is however used as a Boolean in that the only valid states are 0(false) and 1(true).
I would like the PropertyGrid to display it as a ComboBox with two Items True and False, and then convert them to 1/0.
What is the best approach to accomplish this?
I would like the PropertyGrid to display it as a ComboBox with two Items True and False, and then convert them to 1/0.
What is the best approach to accomplish this?