---
title: "controlGroupStyle(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/controlgroupstyle(_:)"
---

# controlGroupStyle(_:)

Sets the style for control groups within this view.

## Declaration

```swift
nonisolated func controlGroupStyle<S>(_ style: S) -> some View where S : ControlGroupStyle

```

## Parameters

- `style`: The style to apply to controls within this view.

## See Also

### Presenting a group of controls

- [ControlGroup](swiftui/controlgroup.md)
