[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonColorPicker

RibbonColorPicker Class

Represents a color picker element in a C1Ribbon control.

Implements
ISupportUiaContainer
IUiaSplitButton
IUiaInvokeProvider
IUiaExpandCollapseProvider
IUiaScrollItemProvider
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public class RibbonColorPicker : RibbonSplitButton, IComponent, IDisposable, ISupportUiaContainer, IUiaSplitButton, IUiaInvokeProvider, IUiaExpandCollapseProvider, IUiaScrollItemProvider

Constructors

Name Description
RibbonColorPicker()

Creates a new instance of RibbonColorPicker.

RibbonColorPicker(string)

Creates a new instance of RibbonColorPicker.

RibbonColorPicker(string, Image)

Creates a new instance of RibbonColorPicker.

Properties

Name Description
AutomaticColor

Gets or sets the color that appears on the 'Automatic' item in the dropdown.

Color

Gets or sets the color that is currently selected in this RibbonColorPicker.

DefaultColor

Gets or sets the color that appears on this RibbonColorPicker.

OfficeColorPalette

Gets or sets the predefined color palette.

ShowAutomaticColor

Gets or sets whether the 'Automatic' item should appear in the dropdown.

Methods

Name Description
ExtendedUiaItems(UiaItem)

Gets extended items from inherited controls.

OnClick(EventArgs)

Raises the Click event.

OnSelectedColorChanged(EventArgs)

Raises the SelectedColorChanged event.

ResetAutomaticColor()
ResetColor()

Restores the default value of the Color property.

ResetDefaultColor()

Restores the default value of the DefaultColor property.

ShouldSerializeAutomaticColor()
ShouldSerializeColor()

Specifies whether to save the value of the Color property.

ShouldSerializeDefaultColor()

Specifies whether to save the value of the DefaultColor property.

ShouldSerializeItems()

This member is for internal use only.

Events

Name Description
SelectedColorChanged

Occurs when the Color property has changed.