MenuAnchorPosition

Known direct subclasses
MenuAnchorPosition.Above

Positions the menu vertically above the anchor.

MenuAnchorPosition.Below

Positions the menu vertically below the anchor.

MenuAnchorPosition.Custom

A custom positioning strategy

MenuAnchorPosition.End

Positions the menu at the end of the anchor, adhering to the layout direction.

MenuAnchorPosition.Left

Positions the menu to the absolute left of the anchor.

MenuAnchorPosition.Right

Positions the menu to the absolute right of the anchor.

MenuAnchorPosition.Start

Positions the menu at the start of the anchor, adhering to the layout direction.


Interface that determines the position of a menu relative to its anchor.

This allows selecting between standard positioning strategies (such as Above, Below, Start, End, Left, Right) or providing a Custom implementation for complex positioning logic.

Summary

Nested types

Positions the menu vertically above the anchor.

Positions the menu vertically below the anchor.

A custom positioning strategy

Positions the menu at the end of the anchor, adhering to the layout direction.

Positions the menu to the absolute left of the anchor.

Positions the menu to the absolute right of the anchor.

Positions the menu at the start of the anchor, adhering to the layout direction.