# ColorPreviewerImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-color-picker/primitives/trait-colorpreviewerimpl/

**trait** · [`ferroui-controls-color-picker`](/docs/0.5.0/api/ferroui-controls-color-picker/) · v0.5.0

```rust
trait ColorPreviewerImpl: TemplatedControlImpl + $crate::Upcast<ColorPreviewer>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.ColorPicker/color_previewer/color_previewer.rs#L38)

## Members

- [`on_color_changed`](#function-on_color_changed)

<a id="function-on_color_changed"></a>

### on_color_changed

```rust
fn on_color_changed(this: &Self, e: &ColorChangedEventArgs)
```

Raises the color changed event.

`e` defines the old/new colors.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.ColorPicker/color_previewer/color_previewer.rs#L38)

## Trait implementations

- [`ColorPreviewerImpl`](/docs/0.5.0/api/ferroui-controls-color-picker/primitives/trait-colorpreviewerimpl/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
