MenuControlGroupStyle

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.

StructureiOS 16.4+macOS 13.3+tvOS 17.0+MenuControlGroupStyle in SwiftUI

Declaration

React
type MenuControlGroupStyle = SwiftOpaque<'MenuControlGroupStyle'>;
Swift
nonisolated struct MenuControlGroupStyle

Overview

Use ControlGroupStyle.menu to construct this style.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Styles.