PropertyGrid values in hex/hexadecimal using class derived from TypeConverter

/ Published in: C#
Save to your folder(s)

Displaying values as hex in a PropertyGrid by using a TypeConverter class. The TypeConverter class is assigned as a property to the PropertyGrid's data element.

Consider improving by making the UInt32HexTypeConverter a generic/template as in HexTypeConverter. Also, consider deriving from BaseNumberConverter .

See 'How to: Implement a Type Converter' in MSDN


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.