Table of Contents

Class vdViews

Namespace
VectorDraw.Professional.vdCollections
Assembly
VectorDraw.Professional.dll

Represents a collection of vdView objects typical reference by Views.

public class vdViews : vdBaseObject, IDisposable, IVDSerialise, IEnumerable, IBaseObject
Inheritance
vdViews
Implements
Inherited Members

Examples

see vdView for an example of how to use the vdViews collection.

Remarks

The vdViews collection exposes methods to add, remove and enumerate vdView instances,

Constructors

vdViews()

Initializes the collection.

Properties

Count

Get the item's count of the collection.

this[int]

Get a vdView object from the collection at a specified index.

ItemType

Returns the Type of Items in the collection

Last

Returns the last item in the collection.

Methods

Add(object)

Adds an object to the end of the collection.

Add(string)

Creates and adds a vdView object to the collection with the specified name.

AddItem(object)

Adds an item to the collection.

AddItem(vdView)

Adds a vdViews object to the collection.

ChangeOrder(vdView, bool)

Changes the position of a vdView object to the front or the end of the collection.

DeSerialize(DeSerializer, string, object)

This Function is called foreach field name of the vdViews object when opening in vdml format.

FindItem(vdView)

Checks if an object exists in the collection.

FindName(string)

Finds a vdView object with the specified name in the collection.

GetEnumerator()

Implements the "foreach" expression for the collection.

GetNotDeletedItems()

Get all non deleted objects of the collection.

InternalSetOwner(vdBaseObject)

Internally used only.

Set the object owner

RemoveAll()

Removes all objects from the collection.

RemoveItem(vdView)

Removes a specific vdView object from the collection.

Serialize(Serializer)

This Function is called when saving the vdViews object to vdml format.

ToString()

Gets a System.String that represents the count of the vdView collection Object.

getUniqueTableName(string)

Creates a unique string for use as name to a vdView object.

swap(vdView, vdView)

Swaps the position between two different vdView objects existing in the collection.

See Also