/syncfusion-winui:syncfusion-winui-dropdown-color-pickerfrom Syncfusion WinUI Controls
Guide for implementing Syncfusion WinUI DropDown Color Picker control for interactive color selection with dropdown functionality. Use this skill when implementing color selection with dropdown, color editing modes (RGB/HSV/HSL/CMYK/Hex), customizable dropdown placement, split button modes, or color picker flyout customization in WinUI applications.
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.
The WinUI DropDown Color Picker (SfDropDownColorPicker) is a versatile control for color selection and editing. It displays a color spectrum as a dropdown button with support for multiple color channel modes, opacity adjustment, and extensive customization options.
Syncfusion.Editors.WinUINote: Ensure you update the Syncfusion.Editors.WinUI NuGet package to the latest available version via the NuGet package manager before building or releasing your application.
Syncfusion.UI.Xaml.EditorsChoose the reference guide based on your task:
📄 Read: references/getting-started.md
📄 Read: references/color-picker-customization.md
📄 Read: references/dropdown-modes-and-placement.md
📄 Read: references/events-and-commands.md
📄 Read: references/header-and-ui-customization.md
<Page xmlns:editors="using:Syncfusion.UI.Xaml.Editors">
<Grid>
<editors:SfDropDownColorPicker x:Name="colorPicker"
SelectedBrush="Blue" />
</Grid>
</Page>
using Syncfusion.UI.Xaml.Editors;
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
SfDropDownColorPicker colorPicker = new SfDropDownColorPicker();
colorPicker.SelectedBrush = new SolidColorBrush(Colors.Blue);
grid.Children.Add(colorPicker);
}
}
// Subscribe to color change event
colorPicker.SelectedBrushChanged += ColorPicker_SelectedBrushChanged;
private void ColorPicker_SelectedBrushChanged(object sender, SelectedBrushChangedEventArgs e)
{
var oldColor = e.OldBrush;
var newColor = e.NewBrush;
// Apply the selected color
myElement.Background = newColor;
}
Allow users to select application theme colors:
// User selects a color → apply to app background
SfDropDownColorPicker themeColorPicker = new SfDropDownColorPicker();
themeColorPicker.SelectedBrushChanged += (s, e) =>
{
Window.Current.Content.Background = e.NewBrush;
};
Apply last selected color with button click, open dropdown to change:
<editors:SfDropDownColorPicker DropDownMode="Split"
Command="{x:Bind ApplyColorCommand}" />
Embed specific color picker configuration:
<editors:SfDropDownColorPicker>
<FlyoutBase.AttachedFlyout>
<editors:DropDownFlyout>
<editors:SfColorPicker BrushTypeOptions="LinearGradientBrush"
Width="250" />
</editors:DropDownFlyout>
</FlyoutBase.AttachedFlyout>
</editors:SfDropDownColorPicker>
Control where the color picker opens:
<editors:SfDropDownColorPicker DropDownPlacement="TopEdgeAlignedRight" />
| Property | Type | Purpose | Common Values |
|---|---|---|---|
SelectedBrush | Brush | Currently selected color | Colors.Blue, new SolidColorBrush() |
DropDownMode | enum | Dropdown behavior | Dropdown, Split |
DropDownPlacement | FlyoutPlacementMode | Position of dropdown | Full, Top, Bottom, Left, Right |
Command | ICommand | Command triggered on button click | Custom ICommand implementation |
// When color is selected, immediately apply to target element
void ColorPicker_SelectedBrushChanged(object sender, SelectedBrushChangedEventArgs e)
{
targetRectangle.Fill = e.NewBrush;
}
void ColorPicker_SelectedBrushChanged(object sender, SelectedBrushChangedEventArgs e)
{
// Validate color meets requirements
if (IsValidColor(e.NewBrush))
{
ApplyColor(e.NewBrush);
}
else
{
colorPicker.SelectedBrush = e.OldBrush; // Revert
}
}
public ICommand QuickApplyCommand => new RelayCommand(() =>
{
// Apply current selected color without opening dropdown
ApplySelectedColorToTextSelection();
});
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winuiOther 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.