You are here: Start » FIL.NET » View2DBoxPrimitivesCollection Class

View2DBoxPrimitivesCollection Class

Namespace:HMI.Controls
Assembly:HMI.Controls.dll

Manages a dynamic collection of primitives for View2DBox control.

Properties

 NameTypeDescription
CountSystem.Int32 Returns the number of primitives in the collection.
ItemHMI.Controls.View2DBoxPrimitive
ItemHMI.Controls.View2DBoxPrimitive

Methods

 NameDescription
Add() Adds new primitive slot into this collection and returns its instance.
Add(string) Adds new primitive slot into this collection and registers it under the specified name for easy access later.
Clear() Removes all primitive from this collection and View2DBox control.
Contains(HMI.Controls.View2DBoxPrimitive) Checks if the specified primitive is present in this collection.
Equals(object)Inherited from System.Object
GetEnumerator()
GetHashCode()Inherited from System.Object
GetType()Inherited from System.Object
IndexOf(string) Searches for the primitive added under the specified name and returns the zero-based index of its position the collection.
IndexOf(HMI.Controls.View2DBoxPrimitive) Searches for the specified primitive and returns the zero-based index of its position the collection.
RemoveAt(int) Removed the primitive at the specified position from this collection and View2DBox control.
Remove(string) Removes the primitive registered under the specified name from this collection and View2DBox control.
Remove(HMI.Controls.View2DBoxPrimitive) Removes the specified primitive from this collection and View2DBox control.
ToString()Inherited from System.Object

Remarks

See also