Table of Contents

Class vdColorCombo

Namespace
vdColorComboBox
Assembly
VectorDraw.Professional.dll

A Color control to give easy access to the color of the entities.

public class vdColorCombo : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance
vdColorCombo
Implements
Inherited Members

Remarks

vdColorComboBox is a combobox like control to give you easy access to the Colors.

Constructors

vdColorCombo()

The constructor of the Control always necessary.

Properties

ApplicationsMainForm

Get/Set the Main Form where the ColorControl is added. This is used only to choose either to open the list upward or downward depending the position and the height of the main application.This property can only be used in .NET applications.

BackgroundColor

The background color of the combobox.

ColorDocument

Get/Set the Document that the Control should interact with.

ColorFont

Get/Set the font used to display the name of the Color

MinimumSize

The minimum size of this control is 150,21

ShowIconImage

Get/Set a value representing if the icon in front of the combo box is shown.

TextColor

The color of every text in the combobox.

UserColor

Use this property to pass a vdColor object to be modified without interfering with the Document.

Methods

Dispose(bool)

Clean up any resources being used.

SetColorFont(string, float, int)

A method to set the Color's font.

Events

ColorSelected

Raises when a color is selected and the colorpicker form is hiden. This event can be used to handle the focus on the form that is used.