public Size DesiredSize { get; set; }Public Property DesiredSize As Size
Get
Setpublic:
property Size DesiredSize {
Size get ();
void set (Size value);
}member DesiredSize : Size with get, setOn platforms where the Form.OnGetDpiScaledSize method is available, an overridden implementation may already have set a desired size. In such case the Handled property is already set to . To revoke such custom resizing and to apply the default scaling behavior instead, set the Handled property to .