NDGO
NDGO

Reputation: 51

how to disable maximize button on c# form

How do I disable the maximize button on a C# form?

enter image description here

Upvotes: 1

Views: 17134

Answers (2)

BALA s
BALA s

Reputation: 169

Simply Change Settings in Properties - MaximizeBox --> false;

Upvotes: 0

Sriram Sakthivel
Sriram Sakthivel

Reputation: 73442

You need to set MaximizeBox to false

this.MaximizeBox = false;//this is an instance of Form or its decendant

Upvotes: 9

Related Questions