[]
        
(Showing Draft Content)

C1.Win.Input.Pickers.C1ColorPicker

C1ColorPicker Class

Represents a Windows color picker control supporting additional visual styles.

Namespace: C1.Win.Input.Pickers
Assembly: C1.Win.Input.Pickers.8.dll
Syntax
[ToolboxBitmap(typeof(C1ColorPicker), "C1ColorPicker.png")]
public class C1ColorPicker : C1PickerBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IDropDownControlBase, IDropDownOwner, ISupportUiaContainer, IUiaExpandCollapseProvider

Constructors

Name Description
C1ColorPicker()

Initializes a new instance of the C1ColorPicker class.

Properties

Name Description
AllowEmpty

Gets or sets a value indicating whether the empty color can de selected.

AllowSpinLoop

Gets or sets a value determining whether the spinner moves to the first item when it reaches the last, or to the last when it reaches the first.

AllowTransparent

Gets or sets a value indicating whether the transparent color can de selected.

Color

Gets or sets the current color.

DropDownWidth
EmptyColorCaption

Gets or sets a caption for the empty color.

Format

Gets or sets the color format in which it will be displayed in the text box.

Styles

Gets or sets the C1ColorPicker styles.

Text

Methods

Name Description
ApplyStyle()

Applies the style to control view.

CreateDropDownForm()

Creates the drop down form.

Dispose(bool)

Releases the unmanaged resources used by the C1DropDownControlBase control.

GetDropDownItem(UiaItem)

Gets the UiaItem from the drop down part of this C1DropDownControlBase control.

OnColorChanged(EventArgs)

Raises the ColorChanged event.

OnDropDownOpened(EventArgs)

Raises the DropDownOpened event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnModalButtonClick(EventArgs)

Raises the ModalButtonClick event.

OnValidated(EventArgs)

Raises the Validated event.

SpinDown()

Performs spin down to select next item.

SpinUp()

Performs spin up to select previous item.

Events

Name Description
ColorChanged

Fires when the Color property changes.