Open robbelroot opened 1 year ago
Hi, I think this is more or less the same as #14 . Basically, see https://github.com/arklumpus/AvaloniaColorPicker/wiki/Customising-the-colour-picker-window ; you need to create a Window
that implements the IColorPickerWindow
interface, and then use a ColorButton<T>
instead of a ColorButton
.
I want to show a color dialog with the ColorButton control, which is pretty easy, but I can't configure the shown window this way. Is there a way?
Currently, I did that by binding a command in my UI which creates a and shows a new ColorPickerWindow instance - is this the recommended way?