[]
Represents a color palette used to build custom color picker elements.
public class RibbonColorPickerItem : RibbonItem, IComponent, IDisposable
| Name | Description |
|---|---|
| RibbonColorPickerItem() | Creates a new instance of RibbonColorPickerItem. |
| Name | Description |
|---|---|
| Color | Gets or sets the currently selected color. |
| ColorsPerRow | Gets or sets the number of color elements that should be displayed per row. |
| ExpandColors | Gets or sets whether the palette should be expanded to include five additional entries with different brightness for each color in the main palette. |
| LargeButtons | Gets or sets whether the color picker buttons should be large or small. |
| OfficeColorPalette | Gets or sets the predefined color palette. |
| Palette | Gets or sets the array of colors to choose from. |
| ToolTipColorNames | Gets or sets whether to show the color names in tooltips. |
| Name | Description |
|---|---|
| GetColorIndex(Color) | Returns the color index from the palette. |
| OnClick(EventArgs) | Raises the Click event. |
| OnSelectedColorChanged(EventArgs) | Raises the SelectedColorChanged event. |
| ResetColor() | |
| ShouldSerializeColor() |
| Name | Description |
|---|---|
| Click | Occurs when the item is clicked. |
| SelectedColorChanged | Occurs when the Color property has changed. |