New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

RibbonBarColorPicker

With the RadRibbonBarColorPicker you can also use the SelectedColor property. The ColorPicker also has an ItemsCollection, which defines the available colors. If the Items collection is empty, the ColorPicker uses a default collection of standart colors.

Working with RadRibbonBarColorPicker on the Client-Side

RadRibbonBar provides a client-side API for working with RadRibbonBarColorPicker. Below you can find an list of with their detailed description:

  • get_selectedColor() - gets the selected color.

  • set_selectedColor() - sets the selected color.

  • get_index() - returns the index of the ColorPicker in its parent group.

  • get_hierarchicalIndex() - returns the index of the ColorPicker in its parent group.