Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gridsplitter stretch limits - WPF

I would like to set some limits/boundaries on the amount of pixels we can stretch a gridsplitter control which is inside a grid.How is this possible? Basically one should not be allowed to pull the gridsplitter to large limits(it should be restricted to smaller grid boundaries)

like image 654
Sumeru Suresh Avatar asked Jun 30 '09 15:06

Sumeru Suresh


1 Answers

You could use MinWidth and MaxWidth on the ColumnDefinition class.

like image 95
Kent Boogaart Avatar answered Nov 01 '22 01:11

Kent Boogaart