Class Checkbox
Checkbox UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Checkbox : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<CheckboxState>, INotifyValueChanged<CheckboxState>, ISizeableElement, IPressable
Constructors
| Name | Description |
|---|---|
| Checkbox() | Default constructor. |
Fields
| Name | Description |
|---|---|
| boxUssClassName | The Checkbox box styling class. |
| checkmarkUssClassName | The Checkbox checkmark styling class. |
| emphasizedUssClassName | The Checkbox emphasized mode styling class. |
| labelUssClassName | The Checkbox label styling class. |
| partialCheckmarkUssClassName | The Checkbox partial checkmark styling class. |
| sizeUssClassName | The Checkbox size styling class. |
| ussClassName | The Checkbox main styling class. |
Properties
| Name | Description |
|---|---|
| clickable | Clickable Manipulator for this Checkbox. |
| emphasized | The Checkbox emphasized mode. |
| invalid | The Checkbox invalid state. |
| label | The text displayed in the Checkbox label. |
| size | The Checkbox size. |
| validateValue | The Checkbox validation function. |
| value | The Checkbox value. |
Methods
| Name | Description |
|---|---|
| SetValueWithoutNotify(CheckboxState) | Set the Checkbox value without notifying the change. |