Table of Contents

Class vdLayersCombo

Namespace
vdLayersComboBox
Assembly
VectorDraw.Professional.dll

A Layers control to give easy access to the layers.

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

Remarks

vdLayersCombo is a combobox like control to give you easy access to the layers.

Constructors

vdLayersCombo()

The constructor of the Control always necessary.

Properties

ApplicationsMainForm

Get/Set the Main Form where the LayerControl 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.

FrozenLayerTextColor

The color of every frozen and off layers text.

LayerFont

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

LayersDocument

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

MaxNumberOfLayersShown

Get/Set the Maximum number of Layers to be shown at the Drop Down List.

MinimumSize

The minimum size of this control is 150,21

SelectedLayerColor

The color of the Selected Layer.

TextColor

The color of every text in the combobox.

UserLayer

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

Methods

Dispose(bool)

Clean up any resources being used.

SetLayerFont(string, float, int)

A method to set the layer font.

Events

LayerSelected

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