I would suggest that you use .NET Reflector to see how it's done in the PointConverter class and then do it the same way.