Contents

menu

A control group style that presents its content as a menu when the user presses the control, or as a submenu when nested within a larger menu.

Declaration

@MainActor @preconcurrency static var menu: MenuControlGroupStyle { get }

Discussion

To apply this style to a control group, or to a view that contains control groups, use the controlGroupStyle(_:) modifier.

See Also

Getting built-in control group styles