Class ColorToolbar
A toolbar that contains a color swatch for the previous color, a color swatch for the current color, and an eye dropper button.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class ColorToolbar : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
Name | Description |
---|---|
ColorToolbar() | Default constructor. |
Fields
Name | Description |
---|---|
currentColorSwatchUssClassName | The Uss class name of the current color swatch. |
eyeDropperUssClassName | The Uss class name of the eye dropper button. |
previousColorSwatchUssClassName | The Uss class name of the previous color swatch. |
swatchContainerUssClassName | The Uss class name of the swatch container. |
ussClassName | The main Uss class name of this element. |
Properties
Name | Description |
---|---|
currentColor | The current color swatch value. |
eyeDropperButton | The eye dropper button. |
previousColor | The previous color swatch value. |
previousColorSwatch | The previous color swatch. |
Events
Name | Description |
---|---|
previousColorSwatchClicked | The event that is invoked when the previous color swatch is clicked. |