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

URL: http://koniosis.blogspot.com/2009/02/integers-as-hex-in-propertygrid-c-net.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.