Sets the style for menu buttons within this view.
SDKs
- macOS 10.15+
- Xcode 11.0+
Framework
- Swift
UI
Declaration
func menuButtonStyle<S>(_ style: S) -> some View where S : Menu Button Style
Sets the style for menu buttons within this view.
SDKs
Framework
func menuButtonStyle<S>(_ style: S) -> some View where S : Menu Button Style
func button Style<S>(S) -> View
Sets the style for buttons within this view.
func button Style<S>(S) -> View
Sets the style for buttons within this view.
func picker Style<S>(S) -> View
Sets the style for pickers within this view.
func date Picker Style<S>(S) -> View
Sets the style for date pickers within this view.
func text Field Style<S>(S) -> View
Sets the style for text fields within this view.
func toggle Style<S>(S) -> View
Sets the style for toggles within this view.
func list Style<S>(S) -> View
Sets the style for lists within this view.
func navigation View Style<S>(S) -> View
Sets the style for navigation views within this view.