/syncfusion-winui:syncfusion-winui-color-palettefrom Syncfusion WinUI Controls
Guide implementation of the Syncfusion WinUI Color Palette control (SfColorPalette) for swatch-based color selection in Windows desktop applications. Use this skill when working with theme colors, standard colors, custom color palettes, or the More Colors dialog. Covers color palette setup, theme color support, standard color configurations, UI customization, and best practices.
Ships in Syncfusion WinUI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill immediately when the user:
SelectedBrushThis skill is specifically for the Syncfusion WinUI Color Palette control (SfColorPalette), not for gradient-based or spectrum-based color pickers.
The SfColorPalette is a WinUI control that provides a swatch-based color selection interface. It supports:
SelectedBrushSelectedBrushChanged for real-time change detectionKey Namespace:
using Syncfusion.UI.Xaml.Editors;
NuGet Package:
Syncfusion.Editors.WinUI
📄 Read: references/getting-started.md
Read this reference when you need:
SfColorPalette control implementationTopics covered:
Syncfusion.Editors.WinUI NuGet package📄 Read: references/theme-colors.md
Read this reference when you need:
Topics covered:
📄 Read: references/standard-colors.md
Read this reference when you need:
Topics covered:
📄 Read: references/more-color-dialog.md
Read this reference when you need:
Topics covered:
📄 Read: references/ui-customization.md
Read this reference when you need:
Topics covered:
📄 Read: references/best-practices.md
Read this reference when you need:
Topics covered:
Here's a minimal example to get started with SfColorPalette:
<Page
x:Class="ColorPaletteApp.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:editors="using:Syncfusion.UI.Xaml.Editors">
<Grid Padding="20">
<!-- Basic Color Palette -->
<editors:SfColorPalette
x:Name="colorPalette"
ShowMoreColorsButton="True"
ShowNoColorButton="True"
SelectedBrushChanged="ColorPalette_SelectedBrushChanged" />
</Grid>
</Page>
using Syncfusion.UI.Xaml.Editors;
using Microsoft.UI.Xaml.Media;
using Windows.UI;
namespace ColorPaletteApp
{
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
}
private void ColorPalette_SelectedBrushChanged(object sender, SelectedBrushChangedEventArgs e)
{
var oldBrush = e.OldBrush;
var newBrush = e.NewBrush;
// Apply selected color to a target element
if (newBrush is SolidColorBrush solidBrush)
{
targetRectangle.Fill = solidBrush;
}
}
}
}
<editors:SfColorPalette Name="colorPalette">
<editors:SfColorPalette.PaletteColors>
<editors:ColorPaletteModel ShowColorShades="True"/>
</editors:SfColorPalette.PaletteColors>
<editors:SfColorPalette.StandardColors>
<editors:StandardPaletteModel ShowColorShades="True"/>
</editors:SfColorPalette.StandardColors>
</editors:SfColorPalette>
<!-- Show "Yellow" theme colors by default -->
<editors:SfColorPalette ActivePalette="Yellow" Name="colorPalette" />
// Switch theme programmatically
colorPalette.ActivePalette = ColorPaletteNames.Office;
<editors:SfColorPalette Name="colorPalette">
<editors:SfColorPalette.PaletteColors>
<editors:ColorPaletteModel ShowColors="True" ShowColorShades="True" Header="Brand Colors">
<editors:ColorPaletteModel.Colors>
<editors:ColorCollection>
<editors:ColorModel Color="#FF1464A0" Tooltip="Brand Blue" />
<editors:ColorModel Color="#FF00A651" Tooltip="Brand Green" />
<editors:ColorModel Color="#FFFF6600" Tooltip="Brand Orange" />
</editors:ColorCollection>
</editors:ColorPaletteModel.Colors>
</editors:ColorPaletteModel>
</editors:SfColorPalette.PaletteColors>
</editors:SfColorPalette>
// Set selected color
colorPalette.SelectedBrush = new SolidColorBrush(Colors.Yellow);
// Set transparent/no color
colorPalette.SelectedBrush = new SolidColorBrush(Colors.Transparent);
// Read selected color
if (colorPalette.SelectedBrush is SolidColorBrush brush)
{
var color = brush.Color;
}
<editors:SfColorPalette
ShowMoreColorsButton="True"
ShowNoColorButton="True"
AutomaticBrush="Black"
ShowDefaultColorButton="True"
Name="colorPalette" />
| Property | Type | Default | Purpose |
|---|---|---|---|
| SelectedBrush | Brush | Transparent | Gets or sets the currently selected color |
| ActivePalette | ColorPaletteNames | Office | Sets the active built-in theme palette |
| PaletteColors | ColorPaletteModel | — | Configures theme color panel |
| StandardColors | StandardPaletteModel | — | Configures standard color panel |
| ShowMoreColorsButton | bool | true | Shows/hides the More Colors button |
| ShowNoColorButton | bool | false | Shows/hides the No Color (transparent) button |
| AutomaticBrush | Brush | Black | Sets the default/automatic color |
| ShowDefaultColorButton | bool | true | Shows/hides the default color button |
| RecentColors | Collection | — | Gets the recently used colors list |
| Foreground | Brush | Black | Sets header text foreground color |
| FlowDirection | FlowDirection | LeftToRight | Sets RTL/LTR layout direction |
ColorPaletteModel / StandardPaletteModel Properties:
| Property | Type | Default | Purpose |
|---|---|---|---|
| ShowColors | bool | true | Shows/hides base colors |
| ShowColorShades | bool | true/false | Shows/hides variant shades |
| Colors | ColorCollection | — | Custom color entries |
| Header | string | "Theme Colors" / "Standard Colors" | Panel header text |
| ShowHeader | bool | true | Shows/hides the header |
| HeaderTemplate | DataTemplate | — | Custom header UI |
| ColorShadesSpacing | double | 10 | Space between base color and shades |
| Event | Args | Purpose |
|---|---|---|
| SelectedBrushChanged | SelectedBrushChangedEventArgs | Fired when selected color changes |
Event Args Properties:
OldBrush — Previously selected brushNewBrush — Newly selected brushNote: This skill focuses on the Syncfusion WinUI Color Palette control (SfColorPalette). For gradient/spectrum-based color picking, refer to the syncfusion-winui-colorpicker skill.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
39 skills in this plugin
/syncfusion-winui-ai-assistviewGuide for implementing the Syncfusion WinUI AI AssistView control for creating AI chat interfaces and conversational UI. Use this skill when implementing AI chat interfaces, AI assistants, conversational UI, or chatbots in WinUI applications. Essential for creating AI-powered chat experiences, integrating AI services, displaying AI responses, showing typing indicators, providing AI suggestions, managing conversation history with a navigation view, customizing empty states with EmptyView/EmptyViewTemplate, or setting input placeholder text in conversational interfaces with AI services in WinUI./syncfusion-winui-autocompleteGuide implementation of the Syncfusion WinUI AutoComplete control (SfAutoComplete) for creating searchable dropdowns with single or multiple selection, filtering suggestions, and customizable token display. Use this skill when implementing search-as-you-type functionality, autocomplete dropdowns with multi-select, tagging systems with token/chip display, or filtered suggestion boxes in WinUI applications./syncfusion-winui-avatar-viewGuide for implementing the Syncfusion WinUI AvatarView control to display user avatars and profile pictures. Use this when implementing user profiles, contact lists, or chat interfaces requiring visual user representation in WinUI applications. This skill covers initials display, image avatars, group avatars, and pre-defined avatar characters.npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winui