About Syncfusion® WinUI DropDown Color Picker Control
18 Nov 20181 minute to read
The WinUI DropDown Color Picker control is a user interface to select and adjust color values. The DropDown Color Picker displays a color spectrum in a drop-down with the selected color shown at the top. It supports various color specifications, including RGB, HSV, HSL, CMYK, and a hexadecimal color editor.

Key features
Color editing
- Drag the handle inside the color spectrum to pick a color, or enter values manually using the input controls (RGB, HSV, HSL, CMYK, or hexadecimal).
- A dedicated slider lets you choose a hue value across the spectrum.
- Switch between the RGB, HSV, HSL, and CMYK color channel modes from the channel combobox.
Drop-down behavior
- Configure the drop-down placement using the
DropDownPlacementproperty (Auto,Top,Bottom,Left,Right,Full, and edge-aligned variants). - Use the
Splitmode (DropDownModeproperty) to combine a clickable command button with a drop-down. - Customize the drop-down button and selected-color button with the
DropDownButtonTemplateandContentTemplateproperties. - Embed any
SfColorPickerconfiguration inside the drop-down through theAttachedFlyoutandDropDownFlyoutproperties.
Notifications and UX
- A tooltip displays the currently hovered color while dragging the picker on the color spectrum.
- Be notified when the drop-down opens or closes using the
DropDownOpenedandDropDownClosedevents. - Be notified when the selected brush changes using the
SelectedBrushChangedevent, withOldBrushandNewBrushpayload values.