BColorPicker - esempi
<BColorPicker TextLabel="Colore tema"
AriaLabel="Seleziona il colore del tema"
ShowPalette="true"
ShowStandardColors="true"
ShowHexValue="true"
ShowRGBValue="true"
ShowEyeDropper="true"
@bind-Value="colore" />
<span style="background-color:@colore">Anteprima</span>
@code {
private string colore = "#336699";
}
Il valore destinato al binding è Value (string). SelectedColor espone invece il modello BColor usato internamente dal controllo.
