Class TelerikColorPalette
The class for the Telerik ColorPalette component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikColorPalette : TelerikInputBase<string>, IDisposable, ILabelableInput, IColorPaletteSettings
Constructors
TelerikColorPalette()
Declaration
public TelerikColorPalette()
Properties
Colors
Defines the set of colors. Default one is Office.
Declaration
public IEnumerable<string> Colors { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
|
Columns
Defines the number of columns that will be displayed. Default is 10
.
Declaration
public int Columns { get; set; }
Property Value
System.Int32
|
TileHeight
Defines the height of the color cell. Default value is 24px.
Declaration
public string TileHeight { get; set; }
Property Value
System.String
|
TileWidth
Defines the width of the color cell. Default value is 24px.
Declaration
public string TileWidth { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()