BColorPicker
Selettore di colore con binding stringa. Può mostrare tavolozza, colori standard, valore esadecimale, RGB e contagocce del browser.
Proprietà principali: Value, ShowPalette, ShowStandardColors, ShowHexValue, ShowRGBValue, ShowEyeDropper, TextLabel e AriaLabel.
<BColorPicker TextLabel="Colore"
ShowHexValue="true"
ShowRGBValue="true"
@bind-Value="colore" />
Il valore viene esposto come stringa; usare B.BDrawing.BColor tramite SelectedColor solo quando serve il modello colore B-Arts.
Esempi completi: BColorPicker.Examples.md.
<!-- BEGIN GENERATED API -->
Riferimento API completo
Identità
Namespace:
B.BWeb.BControlsAssembly:
BFrameworkWebControlsTipo:
classClasse base:
BBaseJSControlInterfacce:
IAsyncDisposable,IComponent,IHandleAfterRender,IHandleEventSorgente API: versione
5.0.1
Dichiarazione
public class BColorPicker : BBaseJSControl, IComponent, IHandleEvent, IHandleAfterRender, IAsyncDisposable
Costruttori
BColorPicker()
Campi pubblici
Nessun campo pubblico dichiarato.
Proprietà
| Proprietà | Tipo | Accesso |
|---|---|---|
AriaLabel |
string |
get/set |
CssClassActions |
string |
get/set |
CssClassActionsLeft |
string |
get/set |
CssClassActionsRight |
string |
get/set |
CssClassArrow |
string |
get/set |
CssClassButton |
string |
get/set |
CssClassContainer |
string |
get/set |
CssClassHexInput |
string |
get/set |
CssClassIconButton |
string |
get/set |
CssClassLabel |
string |
get/set |
CssClassNativePicker |
string |
get/set |
CssClassPopup |
string |
get/set |
CssClassPreview |
string |
get/set |
CssClassPreviewLarge |
string |
get/set |
CssClassRGBContainer |
string |
get/set |
CssClassRGBItem |
string |
get/set |
CssClassRow |
string |
get/set |
CssClassSection |
string |
get/set |
CssClassStandardGrid |
string |
get/set |
CssClassStandardItem |
string |
get/set |
CssClassTextLabel |
string |
get/set |
CssClassTransparentIcon |
string |
get/set |
CssClassValue |
string |
get/set |
SelectedColor |
BColor |
get/set |
ShowEyeDropper |
bool |
get/set |
ShowHexValue |
bool |
get/set |
ShowPalette |
bool |
get/set |
ShowRGBValue |
bool |
get/set |
ShowStandardColors |
bool |
get/set |
ShowValue |
bool |
get/set |
TextLabel |
string |
get/set |
Value |
string |
get/set |
ValueChanged |
EventCallback<string> |
get/set |
ValueExpression |
Expression<Func<string>> |
get/set |
Callback Blazor
ValueChanged:EventCallback<string>
Eventi CLR
Nessun evento CLR pubblico dichiarato.
Metodi
Task ClosePopup()Task EyeDropperColorSelected(string NewValue)void HidePopup()Task SetEyeDropperSupported(bool NewValue)Task SetValue(string NewValue)void ShowPopup()
Tipi annidati pubblici
Nessun tipo annidato pubblico.
Membri B-Arts ereditati
Proprietà da
BBaseControl:string ClientId { get; }Proprietà da
BBaseControl:string CssClass { get; set; }Proprietà da
BBaseControl:bool Disabled { get; set; }Proprietà da
BBaseControl:EventCallback<bool> DisabledChanged { get; set; }Proprietà da
BBaseControl:string Id { get; set; }Proprietà da
BBaseControl:string Style { get; set; }Proprietà da
BBaseControl:int TabIndex { get; set; }Proprietà da
BBaseControl:bool Visible { get; set; }Proprietà da
BBaseControl:EventCallback<bool> VisibleChanged { get; set; }Metodo da
BBaseControl:Task SetDisabled(bool disabled)Metodo da
BBaseControl:Task SetVisible(bool visible)Metodo da
BBaseJSControl:void BJSControlIsInitialized()Metodo da
BBaseJSControl:ValueTask DisposeAsync()
