ClassColorPickerGradientViewBase
Class
Definition
Namespace:Telerik.Blazor.Components.Common
Assembly:Telerik.Blazor.dll
Syntax:
cs-api-definition
public class ColorPickerGradientViewBase : ColorPickerViewBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IColorGradientSettings
Inheritance: objectComponentBaseColorPickerViewBaseColorPickerGradientViewBase
Derived Classes:
Implements:
Inherited Members
Constructors
ColorPickerGradientViewBase()
Declaration
cs-api-definition
public ColorPickerGradientViewBase()
Properties
Format
Specifies the default format in the view. ColorPicker support rgb, hex. Default value is Rgb.
Declaration
cs-api-definition
[Parameter]
public ColorFormat Format { get; set; }
Property Value
Implements
Formats
Specifies the formats displayed for editing in the gradient view. Default value contains rgb and hex.
Declaration
cs-api-definition
[Parameter]
public IEnumerable<ColorFormat> Formats { get; set; }
Property Value
Implements
ShowOpacityEditor
Specifies whether the opacity slider should be rendered. Default value is true
. When opacity is disabled - the alpha slider and alpha input from the colorformats are not rendered.
Declaration
cs-api-definition
[Parameter]
public bool ShowOpacityEditor { get; set; }
Property Value
Implements
ViewType
Declaration
cs-api-definition
public override ColorPickerView ViewType { get; }
Property Value
Overrides
Methods
OnParametersSet()
Declaration
cs-api-definition
protected override void OnParametersSet()
Overrides