New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PaletteSizeBuilder

Methods

Width(System.Int32)

Sets the width of the tiles.

Parameters

width - System.Int32

The value that configures the tile width.

Example


             @(Html.Kendo().ColorPalette()
                        .Name("ColorPalette")
                        .TileSize(s => s.Width(20))
             )

Height(System.Int32)

Sets the height of the tiles.

Parameters

height - System.Int32

The value that configures the tile height.

Example


             @(Html.Kendo().ColorPalette()
                        .Name("ColorPalette")
                        .TileSize(s => s.Height(50))
             )

In this article
Not finding the help you need?