Search results

Render palette alone

To render the Palette alone in ColorPicker, specify the Mode property as Palette, and set the ModeSwitcher property to false.

In the following sample, the ShowButtons property is set to false to hide the control buttons and it renders only the Palette area.

@using Syncfusion.EJ2.Blazor.Inputs

<h4>Choose a color</h4>
<EjsColorPicker Mode="ColorPickerMode.Palette" ModeSwitcher="false" ShowButtons="false"></EjsColorPicker>

Output be like color-picker

To render Picker alone, specify the Mode property as ‘Picker’.