PaletteSizeBuilder

Methods

Width(System.Int32)

Sets the width of the tiles.

Parameters

width - System.Int32

The value that configures the tile width.

Example

Razor
 
             @(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

Razor
 
             @(Html.Kendo().ColorPalette()
                        .Name("ColorPalette")
                        .TileSize(s => s.Height(50))
             )
             
In this article
MethodsWidth(System.Int32)Height(System.Int32)
Not finding the help you need?
Contact Support