Method SetSizeAndLocationInContainer
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
containerAbstractControlThe container in which to position and size the control. Cannot be null.
positionPointD?The position, relative to the container, where the control should be placed. If null, a default position is used.
alignHVDropDownAlignment?The alignment to use when positioning the control within the container. If null, the default alignment is applied.