Class ColorEditorBase
The Base Class for the ColorPicker and ColorPicker components.
Inherited Members
Namespace: Telerik.Blazor.Components.Common
Assembly: Telerik.Blazor.dll
Syntax
public class ColorEditorBase : TelerikInputBase<string>, IDisposable, ILabelableInput, IColorPickerViewContainer
Constructors
ColorEditorBase()
Declaration
public ColorEditorBase()
Properties
OnBlur
Declaration
public EventCallback OnBlur { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback
|
ShowButtons
Specifies if Apply and Cancel buttons should be rendered.
Default value is true
.
Declaration
public bool ShowButtons { get; set; }
Property Value
System.Boolean
|
ShowClearButton
Specifies whether Clear button should be rendered.
Default value is true
.
Declaration
public bool ShowClearButton { get; set; }
Property Value
System.Boolean
|
ShowPreview
Specifies whether preview functionality is enabled.
Default value is true
.
Declaration
public bool ShowPreview { get; set; }
Property Value
System.Boolean
|
ValueFormat
Specifies the color format, which the component will return in the application code. Default value is Rgb.
Declaration
public ColorFormat ValueFormat { get; set; }
Property Value
ColorFormat
|
View
Specifies the default selected view. The default selected view is Gradient. Supports two-way binding.
Declaration
public ColorPickerView View { get; set; }
Property Value
ColorPickerView
|
ViewChanged
Fires when the user toggles between the popup views.
Declaration
public EventCallback<ColorPickerView> ViewChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<ColorPickerView>
|
Methods
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|