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
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
.
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.
View
Specifies the default selected view. The default selected view is Gradient. Supports two-way binding.
ViewChanged
Fires when the user toggles between the popup views.
Declaration
[Parameter]
public EventCallback<ColorPickerView> ViewChanged { get; set; }
Property Value