ColorEditorBase
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
public ColorEditorBase()
Methods
Properties
public EventCallback OnBlur { get; set; }
Specifies if Apply and Cancel buttons should be rendered.
Default value is true.
[Parameter]
public bool ShowButtons { get; set; }
Specifies whether Clear button should be rendered.
Default value is true.
[Parameter]
public bool ShowClearButton { get; set; }
Specifies whether preview functionality is enabled.
Default value is true.
[Parameter]
public bool ShowPreview { get; set; }
Specifies the Size of the ColorPicker. Default value is Medium.
[Parameter]
public string Size { get; set; }
Specifies the color format, which the component will return in the application code. Default value is Rgb.
[Parameter]
public ColorFormat ValueFormat { get; set; }
Specifies the default selected view. The default selected view is Gradient. Supports two-way binding.
[Parameter]
public ColorPickerView View { get; set; }
Fires when the user toggles between the popup views.
[Parameter]
public EventCallback<ColorPickerView> ViewChanged { get; set; }