System.Drawing.Point represents a GDI point and is used in Windows Forms. It can only hold integer values.
WPF doesn't use GDI anymore, so it has its own System.Windows.Point type to represents a point, which can have non integer values.
3
votes
One is used with the classes in System.Drawing namespaces, and one is used with WPF.
The System.Drawing.Point is not so surprisingly used with the classes in the System.Drawing namespaces. The System.Windows.Point is used with WPF.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more