System.Windows.Forms.Control.SetClientSizeCore Method

Sets the size of the client area of the control.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected virtual void SetClientSizeCore (int x, int y)

Parameters

x
The client area width, in pixels.
y
The client area height, in pixels.

Remarks

The client area starts at the (0, 0) location and extends to the (x, y) location.

Typically, you should not set the Control.ClientSize of the control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0