Class ColorPicker
ColorPicker UI Element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class ColorPicker : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, INotifyValueChanged<Color>
  Constructors
| Name | Description | 
|---|---|
| ColorPicker() | Default constructor.  | 
      
Fields
| Name | Description | 
|---|---|
| alphaSliderUssClassName | The Alpha slider styling class.  | 
      
| blueChannelSliderUssClassName | The RGB blue slider styling class.  | 
      
| brightnessSliderUssClassName | The brightness slider styling class.  | 
      
| channelsContainerUssClassName | The Channels container styling class.  | 
      
| channelsDropdownUssClassName | The channels dropdown styling class.  | 
      
| greenChannelSliderUssClassName | The RGB green slider styling class.  | 
      
| hexFieldUssClassName | The hex field styling class.  | 
      
| hueSliderUssClassName | The hue slider styling class.  | 
      
| redChannelSliderUssClassName | The RGB red slider styling class.  | 
      
| saturationSliderUssClassName | The saturation slider styling class.  | 
      
| svSquareUssClassName | The SV square styling class.  | 
      
| toolbarUssClassName | The ColorPicker toolbar styling class.  | 
      
| ussClassName | The ColorPicker main styling class.  | 
      
| wheelContainerUssClassName | The WheelContainer styling class.  | 
      
| wheelUssClassName | The ColorWheel styling class.  | 
      
Properties
| Name | Description | 
|---|---|
| contentContainer | The content container of the ColorPicker. This is null as the ColorPicker does not have a content container.  | 
      
| previousValue | The previous color value. This color will be displayed in the toolbar.  | 
      
| showAlpha | Determines if the ColorPicker should display the alpha slider.  | 
      
| showHex | Determines if the ColorPicker should display the hex field.  | 
      
| showToolbar | Determines if the ColorPicker should display the toolbar.  | 
      
| value | The current color value.  | 
      
Methods
| Name | Description | 
|---|---|
| SetValueWithoutNotify(Color) | Sets the value without notifying the value changed callback.  |