Table of Contents

Method SetDropDownMenuPosition

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

SetDropDownMenuPosition(HVDropDownAlignment?)

Sets the drop-down menu position for all child controls that are of type UserControl.

public virtual void SetDropDownMenuPosition(HVDropDownAlignment? position)

Parameters

position HVDropDownAlignment?

The horizontal and vertical alignment to apply to the drop-down menu. A value of null clears the alignment setting.

Remarks

This method iterates through the child controls and updates the DropDownMenuPosition property for each child that is a UserControl. Controls that are not of type UserControl are ignored.