nullDev
nullDev

Reputation: 11617

How do we specify the client area size of a form in design mode?

I am designing a form in c#. I want to specify the "Client-Area" of the form in the designer.

The Size property sets the size of the complete form, including the NC area. Is there any way to set the client area size?

Upvotes: 3

Views: 3763

Answers (1)

JaredPar
JaredPar

Reputation: 755557

Have you looked at the ClientSize property? This property allows you to modify the size of the client area of the control. Seems to be what you're looking for.

http://msdn.microsoft.com/en-us/library/system.windows.forms.form.clientsize.aspx

Upvotes: 4

Related Questions