<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:palettes="clr-namespace:PixiEditor.AvaloniaUI.Views.Palettes"
             xmlns:xaml="clr-namespace:PixiEditor.AvaloniaUI.Models.Commands.XAML"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="PixiEditor.AvaloniaUI.Views.Dock.SwatchesDockView">
    <palettes:SwatchesView
        SelectSwatchCommand="{xaml:Command PixiEditor.Colors.SelectColor, UseProvided=True}"
        Swatches="{Binding DocumentManagerSubViewModel.ActiveDocument.Swatches}" />
</UserControl>
