GroupBox
This is an enclosing container for a group of IGroupBoxOption. All group options within this container will interact together to allow a single selection, using the DefaultGroupManager. Default options are RadioButton, but users can provide other implementations. If no IGroupBox is found in the hierarchy, the default container will be the panel.
Read time 8 minutesLast updated a day ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: BindableElement
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable
[Icon("UIToolkit/Icons/GroupBox.png")][UxmlElement(libraryPath = "Containers")]public class GroupBox : BindableElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable
Static Fields
Value | Description |
|---|---|
| labelUssClassName | USS class name for Labels in GroupBox elements. |
| ussClassName | USS class name for GroupBox elements. |
Constructors
Constructor | Description |
|---|---|
| GroupBox() | Creates a GroupBox with no label. |
| GroupBox(System.String) | Creates a GroupBox with a title. |
Properties
Property | Description |
|---|---|
| text | The title text of the box. |