Class
ColorPickerGradientViewBase

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: ColorPickerGradientViewFlatColorPickerGradientView

Implements: IColorGradientSettingsIComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ColorPickerViewBase.OnInitializedAsync()ColorPickerViewBase.SetParametersAsync(ParameterView)ColorPickerViewBase.OnParametersSetAsync()ComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)

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

ColorFormat

Implements IColorGradientSettings.Format

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

IEnumerable<ColorFormat>

Implements IColorGradientSettings.Formats

Icon

Declaration

cs-api-definition
public override string Icon { get; }

Property Value

string

Overrides ColorPickerViewBase.Icon

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

bool

Implements IColorGradientSettings.ShowOpacityEditor

ViewType

Declaration

cs-api-definition
public override ColorPickerView ViewType { get; }

Property Value

ColorPickerView

Overrides ColorPickerViewBase.ViewType

Methods

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()