Table of Contents

Method DockInRect

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DockInRect(RectD, DockStyle)

Aligns control in the specified container rectangle using DockStyle alignment option.

public virtual RectD DockInRect(RectD container, DockStyle value)

Parameters

container RectD

Container rectangle.

value DockStyle

DockStyle value which specifies align option.

Returns

RectD

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.