# ToggleButtonGroupStatePropertiesAttribute(bool, bool, int)

> Defines how the toggle button group will be initialized.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public ToggleButtonGroupStatePropertiesAttribute(bool allowMultipleSelection = true, bool allowEmptySelection = true, int length = -1)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): If multiple buttons can be selected.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): If an empty selection is possible.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The length of the group.
