Table of Contents

Class ColorBox

Namespace
Alternet.Editor.Common
Assembly
Alternet.Editor.Common.v10.dll

Represents a combo-box like control used to select color from drop-down list of colors.

[ToolboxBitmap(typeof(ColorBox), "Images.ColorBox.png")]
public class ColorBox : ComboBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Inheritance
ColorBox
Implements

Constructors

ColorBox()

Initializes a new instance of the ColorBox class with default settings.

ColorBox(IContainer)

Initializes a new instance of the ColorBox class with specified container.

Properties

Items

Gets an object representing the collection of the colors contained in this ColorBox.

SelectedColor

Gets or sets currently selected color in the ColorBox.

Text

Represents text associated with this control.

Methods

Dispose(bool)

Releases the unmanaged resources used by the ComboBox and optionally releases the managed resources.

OnDrawItem(DrawItemEventArgs)

Raises the DrawItem event.

OnForeColorChanged(EventArgs)

Raises the ForeColorChanged event.

ShouldSerializeSelectedColor()