A2v10 Platform documentation
UK


DropDownMenu Layout Element

Represents a dropdown menu. The content is usually a collection of MenuItem items.

Inherits: Container : UIElement : UIElementBase

Properties

Name Type Description
Direction DropDownDirection The direction of the menu’s "drop-out". Possible values:
  • DownRight - (by default) downwards, unwraps to the right. Left edge anchor.
  • DownLeft - downwards, unwraps to the left. Right edge anchor.
  • UpRight - upwards, unwraps to the right. Left edge anchor.
  • UpLeft - upwards, unwraps to the left. Right edge anchor.
Separate Boolean Display the menu separately from the parent button. In this case, the background of the element will be white.
Background BackgroundStyle Background color.
Base item properties

Example

XAML


Example