.NET MAUI Color Picker Implementation
A comprehensive skill for implementing and customizing the Syncfusion .NET MAUI Color Picker (SfColorPicker) control. This control enables users to select colors from palette grids or spectrum gradients, with support for custom colors, recent colors, alpha transparency, and multiple display modes.
When to Use This Skill
Use this skill when you need to:
- Install and set up the Syncfusion .NET MAUI Color Picker
- Implement color selection UI in .NET MAUI applications
- Switch between Palette and Spectrum color modes
- Customize color picker appearance (palettes, sliders, buttons)
- Display color picker inline or as a popup/dropdown
- Handle color selection events (ColorChanging, ColorChanged, ColorSelected)
- Configure recent colors panel and custom color collections
- Implement alpha/opacity control for colors
- Customize display view (icons, templates, dropdown button)
- Add localization support for different cultures
- Enable modern Liquid Glass effect (.NET 10+)
- Troubleshoot color picker implementation issues
Component Overview
The SfColorPicker is a versatile color selection control that provides:
- Two color modes: Palette (predefined color grid) and Spectrum (gradient-based selection)
- Custom colors: Add/remove custom colors to palette
- Recent colors: Automatic tracking of recently selected colors
- Alpha control: Adjustable transparency via alpha slider
- Manual input: Direct color value entry (RGB, HSV, HEX formats)
- Inline & Popup modes: Embed directly in layout or show as dropdown
- No color option: Allow users to deselect/clear color
- Rich customization: Extensive styling for palettes, sliders, buttons, and indicators
- Localization: Multi-language support via resource files
- Modern effects: Liquid Glass/Acrylic visual effect (.NET 10+)
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installation via NuGet package
- Handler registration in MauiProgram.cs
- Basic SfColorPicker implementation (XAML & C#)
- First working color picker example
Color Modes and Selection
📄 Read: references/modes-and-selection.md
- ColorMode property (Palette vs Spectrum)
- Setting default SelectedColor
- Color mode switcher visibility
- Recent colors panel (ShowRecentColors)
- ClearRecentColors method
- ShowNoColor option
Customization
📄 Read: references/customization.md
- Input area visibility
- Alpha slider configuration
- Action buttons (Apply/Cancel) visibility and styling
- Button background and label styles
- Recent colors and spectrum input view label styles
- Palette customization (row/column count, spacing, cell shape, size, corner radius)
- Custom palette colors (PaletteColors)
- Selection indicator customization (radius, stroke, thickness)
- Slider thumb customization (fill, radius, stroke, thickness)
- Popup customization (IsOpen, background, relative position)
Display View Customization
📄 Read: references/display-view.md
- Selected color icon (SelectedColorIcon)
- Selected color icon size
- Selected color template (SelectedColorTemplate)
- Drop-down button template (DropDownButtonTemplate)
- Display view height, stroke, and stroke thickness
- Dropdown button width
Inline Rendering
📄 Read: references/inline-rendering.md
- IsInline property
- When to use inline vs popup mode
- Inline color picker implementation
- Use cases for embedded color pickers
Events and Interaction
📄 Read: references/events-and-interaction.md
- ColorChanging event (with cancellation support)
- ColorChanged event (behavior with action buttons)
- ColorSelected event
- ColorChangedCommand
- Event arguments and properties
- Practical examples with UI updates
Advanced Features
📄 Read: references/advanced-features.md
- Localization setup and configuration
- Setting CurrentUICulture
- Resource file structure
- Liquid Glass effect (EnableLiquidGlassEffect)
- Platform requirements (.NET 10+, iOS 26, macOS 26)
- Visual tips and best practices
1---2name: syncfusion-maui-color-picker3description: Implements Syncfusion .NET MAUI Color Picker (SfColorPicker). Use when implementing color picker functionality, color selection UI, palette mode, spectrum mode, or alpha slider configuration in .NET MAUI applications. Covers inline rendering, popup customization, color changed events, localization, and liquid glass effect.4---5
6# .NET MAUI Color Picker Implementation
7
8A comprehensive skill for implementing and customizing the Syncfusion .NET MAUI Color Picker (SfColorPicker) control. This control enables users to select colors from palette grids or spectrum gradients, with support for custom colors, recent colors, alpha transparency, and multiple display modes.
9
10## When to Use This Skill
11
12Use this skill when you need to:
13- Install and set up the Syncfusion .NET MAUI Color Picker
14- Implement color selection UI in .NET MAUI applications
15- Switch between Palette and Spectrum color modes
16- Customize color picker appearance (palettes, sliders, buttons)
17- Display color picker inline or as a popup/dropdown
18- Handle color selection events (ColorChanging, ColorChanged, ColorSelected)
19- Configure recent colors panel and custom color collections
20- Implement alpha/opacity control for colors
21- Customize display view (icons, templates, dropdown button)
22- Add localization support for different cultures
23- Enable modern Liquid Glass effect (.NET 10+)
24- Troubleshoot color picker implementation issues
25
26## Component Overview
27
28The **SfColorPicker** is a versatile color selection control that provides:
29
30- **Two color modes**: Palette (predefined color grid) and Spectrum (gradient-based selection)
31- **Custom colors**: Add/remove custom colors to palette
32- **Recent colors**: Automatic tracking of recently selected colors
33- **Alpha control**: Adjustable transparency via alpha slider
34- **Manual input**: Direct color value entry (RGB, HSV, HEX formats)
35- **Inline & Popup modes**: Embed directly in layout or show as dropdown
36- **No color option**: Allow users to deselect/clear color
37- **Rich customization**: Extensive styling for palettes, sliders, buttons, and indicators
38- **Localization**: Multi-language support via resource files
39- **Modern effects**: Liquid Glass/Acrylic visual effect (.NET 10+)
40
41## Documentation and Navigation Guide
42
43### Getting Started
44📄 **Read:** [references/getting-started.md](references/getting-started.md)
45- Installation via NuGet package
46- Handler registration in MauiProgram.cs
47- Basic SfColorPicker implementation (XAML & C#)
48- First working color picker example
49
50### Color Modes and Selection
51📄 **Read:** [references/modes-and-selection.md](references/modes-and-selection.md)
52- ColorMode property (Palette vs Spectrum)
53- Setting default SelectedColor
54- Color mode switcher visibility
55- Recent colors panel (ShowRecentColors)
56- ClearRecentColors method
57- ShowNoColor option
58
59### Customization
60📄 **Read:** [references/customization.md](references/customization.md)
61- Input area visibility
62- Alpha slider configuration
63- Action buttons (Apply/Cancel) visibility and styling
64- Button background and label styles
65- Recent colors and spectrum input view label styles
66- Palette customization (row/column count, spacing, cell shape, size, corner radius)
67- Custom palette colors (PaletteColors)
68- Selection indicator customization (radius, stroke, thickness)
69- Slider thumb customization (fill, radius, stroke, thickness)
70- Popup customization (IsOpen, background, relative position)
71
72### Display View Customization
73📄 **Read:** [references/display-view.md](references/display-view.md)
74- Selected color icon (SelectedColorIcon)
75- Selected color icon size
76- Selected color template (SelectedColorTemplate)
77- Drop-down button template (DropDownButtonTemplate)
78- Display view height, stroke, and stroke thickness
79- Dropdown button width
80
81### Inline Rendering
82📄 **Read:** [references/inline-rendering.md](references/inline-rendering.md)
83- IsInline property
84- When to use inline vs popup mode
85- Inline color picker implementation
86- Use cases for embedded color pickers
87
88### Events and Interaction
89📄 **Read:** [references/events-and-interaction.md](references/events-and-interaction.md)
90- ColorChanging event (with cancellation support)
91- ColorChanged event (behavior with action buttons)
92- ColorSelected event
93- ColorChangedCommand
94- Event arguments and properties
95- Practical examples with UI updates
96
97### Advanced Features
98📄 **Read:** [references/advanced-features.md](references/advanced-features.md)
99- Localization setup and configuration
100- Setting CurrentUICulture
101- Resource file structure
102- Liquid Glass effect (EnableLiquidGlassEffect)
103- Platform requirements (.NET 10+, iOS 26, macOS 26)
104- Visual tips and best practices
105