# ColorEditor class

Represents an editor that allows users to select a color.

**Namespace:** [`Eremex.AvaloniaUI.Controls.Editors`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class ColorEditor : TemplatedControl
```

## Public Members

| name | description |
| --- | --- |
| [ColorEditor](ColorEditor/ColorEditor.md)() | Initializes a new instance of the ColorEditor class. |
| [ApplyCustomColorCommand](ColorEditor/ApplyCustomColorCommand.md) { get; } | Gets the command that applies the color selected in the color picker. |
| [CloseCommand](ColorEditor/CloseCommand.md) { get; } | Gets the command that closes the editor's popup. |
| [Color](ColorEditor/Color.md) { get; set; } | Gets or sets the currently selected color. |
| [ColorsShowMode](ColorEditor/ColorsShowMode.md) { get; set; } | Gets or sets which color sets are displayed in the editor. |
| [CustomColors](ColorEditor/CustomColors.md) { get; set; } | Gets or sets the collection of custom colors displayed in the editor. |
| [IsCloseButtonVisible](ColorEditor/IsCloseButtonVisible.md) { get; } | Gets whether the close button is visible. |
| [IsColorPickerVisible](ColorEditor/IsColorPickerVisible.md) { get; } | Gets whether the color picker is visible. |
| [ReadOnly](ColorEditor/ReadOnly.md) { get; set; } | Gets or sets whether the editor is read-only. |
| [ShowAlphaChannel](ColorEditor/ShowAlphaChannel.md) { get; set; } | Gets or sets whether the color's alpha channel can be edited. |
| [ShowColorPickerCommand](ColorEditor/ShowColorPickerCommand.md) { get; } | Gets the command that shows or hides the color picker. |
| [ShowConfirmationButtons](ColorEditor/ShowConfirmationButtons.md) { get; set; } | Gets or sets whether the color picker displays confirmation buttons. |
| [ThemePalette](ColorEditor/ThemePalette.md) { get; set; } | Gets or sets the color palette displayed in the editor. |
| [OnCustomColorsChanged](ColorEditor/OnCustomColorsChanged.md)(…) | Updates the custom color buttons displayed in the editor. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.Editors](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
