ClassColorEditorBase
The Base Class for the ColorPicker and ColorPicker components.
Definition
Namespace:Telerik.Blazor.Components.Common
Assembly:Telerik.Blazor.dll
Syntax:
public class ColorEditorBase : TelerikInputBase<string>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikInputBase<string>ColorEditorBase
Derived Classes:
Implements:
Inherited Members
Constructors
ColorEditorBase()
Declaration
public ColorEditorBase()
Properties
OnBlur
Declaration
public EventCallback OnBlur { get; set; }
Property Value
ShowButtons
Specifies if Apply and Cancel buttons should be rendered.
Default value is true
.
ShowClearButton
Specifies whether Clear button should be rendered.
Default value is true
.
Declaration
[Parameter]
public bool ShowClearButton { get; set; }
Property Value
ShowPreview
Specifies whether preview functionality is enabled.
Default value is true
.
ValueFormat
Specifies the color format, which the component will return in the application code. Default value is Rgb.
Declaration
[Parameter]
public ColorFormat ValueFormat { get; set; }
Property Value
View
Specifies the default selected view. The default selected view is Gradient. Supports two-way binding.
Declaration
[Parameter]
public ColorPickerView View { get; set; }
Property Value
ViewChanged
Fires when the user toggles between the popup views.
Declaration
[Parameter]
public EventCallback<ColorPickerView> ViewChanged { get; set; }
Property Value