Table of Contents

Method SetLocationInContainer

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

SetLocationInContainer()

Sets the location of the control within its current container, optionally using last used alignment.

public virtual void SetLocationInContainer()

SetLocationInContainer(AbstractControl, PointD?, HVDropDownAlignment?)

Sets the location of the control within the specified container, optionally using a given position and alignment.

public virtual void SetLocationInContainer(AbstractControl container, PointD? position = null, HVDropDownAlignment? align = null)

Parameters

container AbstractControl

The container in which to position the control. Cannot be null.

position PointD?

The position, relative to the container, where the control should be placed. If null, a default position is used.

align HVDropDownAlignment?

The alignment to use when positioning the control within the container. If null, the default alignment is applied.