C# Class Habanero.Faces.Win.ControlCollectionWin

Represents a collection of controls
Inheritance: IControlCollection
Show file Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
Add ( IControlHabanero value ) : void

Adds a control to the collection

Clear ( ) : void

Removes all controls from the collection

Contains ( IControlHabanero value ) : bool

Indicates whether the collection contains the specified control

ControlCollectionWin ( Control col ) : System

Constructor for ControlCollectionWin

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

IndexOf ( IControlHabanero value ) : int

Provides the index position of the control specified

Insert ( int index, IControlHabanero value ) : void

Insert a control at a specified index position

Remove ( IControlHabanero value ) : void

Removes the specified control from the collection

this ( int index ) : IControlHabanero

Indicates the Control at the specified indexed location in the collection

Method Details

Add() public method

Adds a control to the collection
public Add ( IControlHabanero value ) : void
value IControlHabanero The control to add
return void

Clear() public method

Removes all controls from the collection
public Clear ( ) : void
return void

Contains() public method

Indicates whether the collection contains the specified control
public Contains ( IControlHabanero value ) : bool
value IControlHabanero The control to search for
return bool

ControlCollectionWin() public method

Constructor for ControlCollectionWin
public ControlCollectionWin ( Control col ) : System
col System.Windows.Forms.Control
return System

GetEnumerator() public method

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

IndexOf() public method

Provides the index position of the control specified
public IndexOf ( IControlHabanero value ) : int
value IControlHabanero The control to search for
return int

Insert() public method

Insert a control at a specified index position
public Insert ( int index, IControlHabanero value ) : void
index int The index position at which to insert
value IControlHabanero The control to insert
return void

Remove() public method

Removes the specified control from the collection
public Remove ( IControlHabanero value ) : void
value IControlHabanero The control to remove
return void

this() public method

Indicates the Control at the specified indexed location in the collection
public this ( int index ) : IControlHabanero
index int
return IControlHabanero