Reference > TDBContainer3D Control > TDBContainer3D Control Properties > AutoSize Property (TDBContainer3D) |
Sets/returns whether a child control will automatically resize itself to fill its container. The AutoSize property can be used to automatically adjust a size (width and height) of a child control to fill the area of the container control. This setting will take effect only if there is a single child control on the container.
TDBContainer3D.AutoSize= value
Read/Write at run time and design time.
Design Time |
Run Time |
0 - None (Default) |
dbiAutoSizeNone |
1 - Auto-size Child |
dbiAutoSizeChild |
The child control is filled from the top-left edge of the container area. This excludes the 3D effects and the margin settings of both the container and the child control.
The container control resizes itself to fit the child control only when controls such as combo boxes, which have a fixed size, are placed.