One Logo Pool Ball
SwiftUI · IOS API REFERENCE

MenuStyleConfiguration

struct · iOS 14.0+ · SDK 27.1

struct MenuStyleConfiguration

A configuration of a menu. Use the ``Menu/init(_:)`` initializer of ``Menu`` to create an instance using the current menu style, which you can modify to create a custom style. For example, the following code creates a new, custom style that adds a red border to the current menu style: struct RedBorderMenuStyle: MenuStyle { func makeBody(configuration: Configuration) -> some View { Menu(configuration) .border(Color.red) } }

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →