cp--grid-size Attribute | cpGridSize Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Sets or retrieves the number of colors that are displayed by the colorpick behavior.

Syntax

CSS { cp--grid-size : iSize }
Scripting [ iSize = ] colorpick.style.cpGridSize

Possible Values

iSize Integer that specifies or receives one of the following values.
2
A grid of 8 colors is displayed.
3
Default. A grid of 27 colors is displayed.
4
A grid of 64 colors is displayed.

The property is read/write. The property has a default value of 3. The Cascading Style Sheets (CSS) attribute is inherited.

Applies To

colorpick