Class ColorField
Color Field UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class ColorField : ExVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<Color>, INotifyValueChanging<Color>, INotifyValueChanged<Color>, ISizeableElement, IPressable
  Constructors
| Name | Description | 
|---|---|
| ColorField() | Default constructor.  | 
      
Fields
| Name | Description | 
|---|---|
| colorSwatchUssClassName | The ColorField color swatch styling class.  | 
      
| labelUssClassName | The ColorField label styling class.  | 
      
| sizeUssClassName | The ColorField size styling class.  | 
      
| swatchOnlyUssClassName | The ColorField swatch only styling class.  | 
      
| ussClassName | The ColorField main styling class.  | 
      
Properties
| Name | Description | 
|---|---|
| clickable | Clickable Manipulator for this AssetTargetField.  | 
      
| contentContainer | The content container of this ColorField. This is null for ColorField.  | 
      
| inlinePicker | The ColorPicker position relative to the ColorField. When this is true, the ColorPicker will be inlined instead of being displayed in a Popover.  | 
      
| invalid | The ColorField invalid state.  | 
      
| size | The ColorField size.  | 
      
| swatchOnly | The ColorField type. When this is true, the ColorField will only show the swatch.  | 
      
| validateValue | The ColorField validation function.  | 
      
| value | The ColorField value.  | 
      
Methods
| Name | Description | 
|---|---|
| SetValueWithoutNotify(Color) | Sets the ColorField value without notifying the ColorField.  |