NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Form.Size

Gets or sets the size of the form.

[Visual Basic]
Overridable Public Property Size As Size
[C#]
public Size Size {override get; override set;}
[C++]
public: __property virtual Size get_Size();
public: __property virtual void set_Size(Size);
[JScript]
public function get Size() : Size;
public function set Size(Size);

Property Value

A Size that represents the size of the form.

Remarks

This property allows you to set both the height and width of the form at the same time instead of setting the Height and Width properties individually.

See Also

Form Class | Form Members | System.WinForms Namespace