skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
syncfusion/wpf-ui-components-skills142 installs

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.

How do I install this agent skill?

npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-color-picker-palette
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    No security issues detected. The skill provides legitimate documentation and code examples for the Syncfusion WPF ColorPickerPalette control using official libraries and trusted documentation links.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Implementing WPF ColorPickerPalette

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.

When to Use This Skill

Use ColorPickerPalette when you need to:

  • Allow users to select colors from predefined palettes (theme, standard, custom)
  • Display recently used colors
  • Provide "More Colors" options for extended selection
  • Customize color panels and visibility
  • Handle color selection events
  • Support RTL flow direction
  • Enable transparent or "No Color" options

Component Overview

ColorPickerPalette provides:

  • Multiple color sources: Theme colors, standard colors, custom colors, recently used
  • Flexible modes: Dropdown (default), Palette (expanded), Split (button + dropdown)
  • Rich customization: Panel visibility, sizing, icons, headers, themes
  • Event support: SelectedBrushChanged event and SelectedCommand binding
  • Accessibility: Tooltip support, keyboard navigation, RTL support

Documentation Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly references
  • Adding ColorPickerPalette via designer, XAML, and C#
  • Control structure and key properties
  • Setting initial colors programmatically
  • Theme and localization support

Color Management

📄 Read: references/color-management.md

  • Accessing and changing colors programmatically
  • Working with color brushes
  • Automatic color defaults
  • Transparent color selection
  • Theme color variants and standard colors
  • Custom colors collection
  • Recently used color panel

Appearance & Customization

📄 Read: references/appearance-customization.md

  • Flow direction (RTL) support
  • Panel visibility options (theme, standard, custom, recently used)
  • Display modes (Dropdown, Palette, Split)
  • Resizing color items and palette
  • Icon customization and sizing
  • Header template customization

Events & Interactions

📄 Read: references/events-interactions.md

  • SelectedBrushChanged event handling
  • SelectedCommand binding patterns
  • "No Color" button functionality
  • Tooltip support for color names
  • More Colors window interaction
  • Header template customization

Quick Start Example

<!-- Basic ColorPickerPalette setup -->
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:syncfusion="http://schemas.syncfusion.com/wpf" 
        Title="ColorPickerPalette Sample">
    <Grid>
        <!-- Default dropdown mode with theme and standard colors -->
        <syncfusion:ColorPickerPalette x:Name="colorPickerPalette" 
                                       Color="Red"
                                       GenerateThemeVariants="True"
                                       GenerateStandardVariants="True"
                                       RecentlyUsedPanelVisibility="Visible"
                                       Width="60" 
                                       Height="40" />
    </Grid>
</Window>

C# Code-Behind:

using 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
    }
}

Common Patterns

  • Color Panel Customization: Set ThemePanelVisibility, StandardPanelVisibility, RecentlyUsedPanelVisibility, MoreColorOptionVisibility to control which panels appear
  • Custom Colors Collection: Bind CustomColorsCollection property to ObservableCollection<CustomColor> and set SetCustomColors="True"
  • Split Mode with Command: Set Mode="Split" and bind SelectedCommand for button behavior with dropdown access
  • Expanded Palette Mode: Set Mode="Palette" to show palette always visible; adjust BorderWidth/BorderHeight for color item sizing

See appearance-customization.md and events-interactions.md for complete examples.


Key Properties

PropertyTypePurpose
ColorColorGets/sets the selected color (default: Black)
SelectedBrushBrushGets/sets the selected brush
ModePickerModeDropdown, Palette, or Split mode
ThemesPaletteThemeOffice, Apex, Metro, etc.
GenerateThemeVariantsboolShow/hide theme color variants
GenerateStandardVariantsboolShow/hide standard color variants
CustomColorsCollectionObservableCollection<CustomColor>Custom color items
SetCustomColorsboolEnable custom colors display
BorderWidth / BorderHeightdoubleColor item dimensions
PopupWidth / PopupHeightdoublePalette popup size
RecentlyUsedPanelVisibilityVisibilityShow recently selected colors
ThemePanelVisibilityVisibilityShow theme colors
StandardPanelVisibilityVisibilityShow standard colors
MoreColorOptionVisibilityVisibilityShow "More Colors" button
NoColorVisibilityVisibilityShow transparent/no color button
AutomaticColorColorDefault reset color

Common Use Cases

  • Text Color Picker: Dropdown mode with standard/theme colors + SelectedBrushChanged to apply formatting
  • Shape Fill Selector: Split mode with custom brand colors + SelectedCommand binding
  • Theme Color Picker: Palette mode with GenerateThemeVariants="True" to show color variants
  • Color History Panel: Enable RecentlyUsedPanelVisibility="Visible" for quick access to recent colors

Next Steps

  1. Start with basics: Read getting-started.md to set up ColorPickerPalette
  2. Customize colors: Use color-management.md to manage color sources
  3. Style the control: Apply customizations from appearance-customization.md
  4. Handle interactions: Implement event handling from events-interactions.md

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/syncfusion/wpf-ui-components-skills/syncfusion-wpf-color-picker-palette">View syncfusion-wpf-color-picker-palette on skillZs</a>