Search results

Hide control buttons in Blazor ColorPicker component

22 Jul 2021 / 1 minute to read

Color Picker can be rendered without control buttons (Apply/Cancel). In this case, while selecting a color, the Color Picker pop-up is closed and selected color can be applied directly. To hide control buttons, set the ShowButtons property to false.

Copied to clipboard
@using Syncfusion.Blazor.Inputs

<h4>Choose a color</h4>
<SfColorPicker ShowButtons="false"></SfColorPicker>

Output be like color-picker