DockPanel Suite's Float Window minimum size & location property

1.2k Views Asked by At

I tried to modify source file (winFormsUI ->Docking ->Floatwindow.cs[design])
here i set minimum size property of the window to (100,100)
built & used the dll in my project. below is the code for calling child form in dockpanel.

ChildForm.Show(dockPanel1, DockState.Float);

yet i can resize float window [DockContent/ Child Form] below (100,100)

1) what else should i change to set minimum size for float window ?
2) is there a way to set position for float window? by default, it shows up at left top.
can we make it appear at center of screen?

1

There are 1 best solutions below

1
Lex Li On

We have used GitHub to generate live FAQ, https://github.com/dockpanelsuite/dockpanelsuite/issues?q=label%3A%22faq+candidate%22+is%3Aclosed

#56 should have answered your question.

I had to keep this.Pane.FloatWindow.Size in the settings.