Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

[Icon("UIToolkit/Icons/GroupBox.png")][UxmlElement(libraryPath = "Containers")]public class GroupBox : BindableElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable

Static Fields

Value

Description

labelUssClassNameUSS class name for Labels in GroupBox elements.
ussClassNameUSS 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

textThe title text of the box.

Inheritance

Inherited Members