TableLayoutPanel::ScaleCore Method (Single, Single)

 

Performs the work of scaling the entire panel and any child controls.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
virtual void ScaleCore(
	float dx,
	float dy
) override

Parameters

dx
Type: System::Single

The ratio by which to scale the control horizontally.

dy
Type: System::Single

The ratio by which to scale the control vertically

The ScaleCore method uses the dx and dy parameter values to scale both the height and width of the panel independently.

.NET Framework
Available since 2.0
Return to top
Show: