Persistate API documentation
FitControls Property
NamespacesPersistate.UI.DesktopPFittedPanelFitControls

[This is preliminary documentation and is subject to change.]

Gets or sets a value indicating whether controls will be repositioned and resized at run time to fit into the container.
Declaration Syntax
C#
public bool FitControls { get; set; }
Remarks

When this is set true, the Anchor settings are ignored. The position and size of controls in the container are adjusted proportionally to the run time size of the container. The proportions used are those set at design time. Additionally, control bounds will be adjusted so that they don't overlap themselves or the boundary of the container - in the latter case only until their minimum size is reached as the container size is reduced.

The Dock setting is honoured, but any non-docked edge is moved proportionally to the size of the container. Note that if you set this true, then if you add controls after the PContainer has been displayed, you must call Refit()()()() to adjust the layout.

Assembly: Persistate.UI.Desktop (Module: Persistate.UI.Desktop) Version: 0.6.1.20 (0.6.1.20)