Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to provide a resize indication (resizer-grip) on a form without adding a status bar?

I would like to have a resize indication on a windows forms Form (the same resize-grip as when you have a status bar). I do not want to add a status bar to the form - that would break the design of the form.

The form can have various controls inside that are docked (Fill). I have not found any solution to this besides drawing the resize indication in lower right corner of every control, which is not very feasible.

Is this possible without adding a picture of the resize grip to every control that can be docked in the form?

like image 406
Marek Avatar asked Dec 10 '22 19:12

Marek


1 Answers

You don't have to have a status bar for sizing grip.

Set the SizeGripStyle property and then adjust padding of the from or the control which is located on the bottom right of your form, so that the controls are not drawn over the sizing grip.

form.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;

Screenshot

like image 197
Eren Aygunes Avatar answered May 20 '23 04:05

Eren Aygunes