Class
ColorPickerPaletteViewBase

Definition

Namespace:Telerik.Blazor.Components.Common

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ColorPickerPaletteViewBase : ColorPickerViewBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseColorPickerViewBaseColorPickerPaletteViewBase

Derived Classes: ColorPickerPaletteViewFlatColorPickerPaletteView

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

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

Constructors

ColorPickerPaletteViewBase()

Declaration

cs-api-definition
public ColorPickerPaletteViewBase()

Properties

Colors

Defines the set of colors. Default one is Office.

Declaration

cs-api-definition
[Parameter]
public IEnumerable<string> Colors { get; set; }

Property Value

IEnumerable<string>

Columns

Defines the number of columns that will be displayed. Default is 10.

Declaration

cs-api-definition
[Parameter]
public int Columns { get; set; }

Property Value

int

Icon

Declaration

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

Property Value

string

Overrides ColorPickerViewBase.Icon

TileHeight

Defines the height of the color cell. Default value is 24px.

Declaration

cs-api-definition
[Parameter]
public string TileHeight { get; set; }

Property Value

string

TileWidth

Defines the width of the color cell. Default value is 24px.

Declaration

cs-api-definition
[Parameter]
public string TileWidth { get; set; }

Property Value

string

ViewType

Declaration

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

Property Value

ColorPickerView

Overrides ColorPickerViewBase.ViewType