Ullas
Ullas

Reputation: 11566

resize panel width according to form maximizing in c#

I am working on a windows application in C#.

In that, there is a panel and there is a line shape in the just right to the panel.

The Form State is maximized only. So here when it runs, the panel width is not extending till near the line shape.

So I need to extend the panel width when the form in the maximized state.

Please help.
Thanks in advance.

Upvotes: 1

Views: 5810

Answers (1)

Tigran
Tigran

Reputation: 62265

You need to use Anchor property of the panel during Design time. You can find it in PropertyGrid of panel control.

Upvotes: 4

Related Questions