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