# Sandbox.UI.ControlSheetGroup.SetToggle

```csharp
void SetToggle(SerializedProperty toggleGroup)
```

Set the control that is going to toggle this group open and closed.

### Parameters

- `toggleGroup` (`SerializedProperty`)

Declared in [Sandbox.UI.ControlSheetGroup](/api/Sandbox.UI.ControlSheetGroup).
Assembly: `Sandbox.Engine`.
