CompactMenuControlGroupStyle

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

StructureiOS 16.4+macOS 13.3+CompactMenuControlGroupStyle in SwiftUI

Declaration

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

Overview

Use ControlGroupStyle.compactMenu to construct this style.

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

See also

More in Styles.