Method DockInRect
DockInRect(RectD, DockStyle)
Aligns control in the specified container rectangle using DockStyle alignment option.
public virtual RectD DockInRect(RectD container, DockStyle value)
Parameters
Returns
Remarks
This method changes Bounds so default layout must be disabled before using it. You can disable default layout using IgnoreLayout property of the control.