More Colors in WinUI Color Palette control
14 Jul 20261 minute to read
This section explains the different more color options available in the Color Palette and how to choose the colors and its panel customizations.
Choosing a color from More Colors dialog in WinUI Color Palette
In addition to colors in Theme colors and Standard colors, the More Colors feature allows you to select a wide range of color options from the WinUI Color Palette. You can select any custom color with various opacity levels based on requirement.
Select a color from More Colors dialog
If you want any custom colors to be selected with various opacity levels, click the more color button and select the color from color spectrum and then click the Ok button.
<editors:SfColorPalette ShowMoreColorsButton="true"
Name="colorPalette"/>colorPalette.ShowMoreColorsButton = true;
NOTE
Download demo application from GitHub
Hide More Colors option
If you want to restrict the user from selecting the color from More Colors dialog, hide the More Colors button by setting ShowMoreColorsButton property value as false. The default value of ShowMoreColorsButton property is true.
<editors:SfColorPalette ShowMoreColorsButton="False"
Name="colorPalette" />colorPalette.ShowMoreColorsButton = false;
NOTE
Download demo application from GitHub