Table of Contents

Method SetSizeAndLocationInContainer

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

SetSizeAndLocationInContainer()

Sets the size and location of the control within its current container, optionally using a given position and last used alignment.

public virtual void SetSizeAndLocationInContainer()

SetSizeAndLocationInContainer(AbstractControl, PointD?, HVDropDownAlignment?)

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

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

Parameters

container AbstractControl

The container in which to position and size 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.