npx skills add ...
npx skills add syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-color-picker-palette
Implements the Syncfusion WPF ColorPickerPalette control for color selection from themed and standard color palettes. Use this when adding color pickers with predefined palettes, customizing color options, or handling color selection events in WPF applications. Covers setup, color management, appearance customization, and interaction patterns.
npx skills add syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-color-picker-palette
The ColorPickerPalette is a rich color selection control providing a visual palette interface with theme colors, standard colors, custom colors, and extended color options. Use this skill when you need to implement color selection functionality with flexible customization options.
Use ColorPickerPalette when you need to:
ColorPickerPalette provides:
📄 Read: references/getting-started.md
📄 Read: references/color-management.md
📄 Read: references/appearance-customization.md
📄 Read: references/events-interactions.md
C# Code-Behind:
ThemePanelVisibility, StandardPanelVisibility, RecentlyUsedPanelVisibility, MoreColorOptionVisibility to control which panels appearCustomColorsCollection property to ObservableCollection<CustomColor> and set SetCustomColors="True"Mode="Split" and bind SelectedCommand for button behavior with dropdown accessMode="Palette" to show palette always visible; adjust BorderWidth/BorderHeight for color item sizingSee appearance-customization.md and events-interactions.md for complete examples.
| Property | Type | Purpose |
|---|---|---|
Color | Color | Gets/sets the selected color (default: Black) |
SelectedBrush | Brush | Gets/sets the selected brush |
Mode | PickerMode | Dropdown, Palette, or Split mode |
Themes | PaletteTheme | Office, Apex, Metro, etc. |
GenerateThemeVariants | bool | Show/hide theme color variants |
GenerateStandardVariants | bool | Show/hide standard color variants |
CustomColorsCollection | ObservableCollection<CustomColor> | Custom color items |
SetCustomColors | bool | Enable custom colors display |
BorderWidth / BorderHeight | double | Color item dimensions |
PopupWidth / PopupHeight | double | Palette popup size |
RecentlyUsedPanelVisibility | Visibility | Show recently selected colors |
ThemePanelVisibility | Visibility | Show theme colors |
StandardPanelVisibility | Visibility | Show standard colors |
MoreColorOptionVisibility | Visibility | Show "More Colors" button |
NoColorVisibility | Visibility | Show transparent/no color button |
AutomaticColor | Color | Default reset color |
SelectedBrushChanged to apply formattingSelectedCommand bindingGenerateThemeVariants="True" to show color variantsRecentlyUsedPanelVisibility="Visible" for quick access to recent colorsusing Syncfusion.Windows.Tools.Controls;
public partial class MainWindow : Window {
public MainWindow() {
InitializeComponent();
// Handle color selection
colorPickerPalette.SelectedBrushChanged += ColorPickerPalette_SelectedBrushChanged;
}
private void ColorPickerPalette_SelectedBrushChanged(object sender, SelectedBrushChangedEventArgs e) {
var newColor = e.NewColor;
var newBrush = e.NewBrush;
// Apply color to UI elements
}
}