Browse Source

Add ColorViewTab enum

pull/8215/head
robloo 4 years ago
parent
commit
d3bad7bd1d
  1. 23
      src/Avalonia.Controls.ColorPicker/ColorView/ColorViewTab.cs

23
src/Avalonia.Controls.ColorPicker/ColorView/ColorViewTab.cs

@ -0,0 +1,23 @@
namespace Avalonia.Controls
{
/// <summary>
/// Defines a specific tab (subview) within the <see cref="ColorView"/>.
/// </summary>
public enum ColorViewTab
{
/// <summary>
/// The components view with sliders and numeric input boxes.
/// </summary>
Components,
/// <summary>
/// The color palette view with a grid of colors and shades.
/// </summary>
Palette,
/// <summary>
/// The color spectrum view with a box/ring spectrum and sliders.
/// </summary>
Spectrum,
}
}
Loading…
Cancel
Save