2 references to ToSystemDrawingSize
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
114
SD.Size prefSize = Convert.
ToSystemDrawingSize
(_decorator.DesiredSize, scale);
314
SD.Size maxElementSize = Convert.
ToSystemDrawingSize
(new Size(childFrameworkElement.MaxWidth, childFrameworkElement.MaxHeight), scale);