C# Class ComponentFactory.Krypton.Docking.DockingElementClosedCollection

Extends base functionality by allowing a collection of child docking elements.
Inheritance: DockingElement
Mostra file Open project: ComponentFactory/Krypton

Public Methods

Method Description
Contains ( IDockingElement item ) : bool

Determines whether the collection contains the docking element.

DockingElementClosedCollection ( string name ) : System

Initialize a new instance of the DockingElementClosedCollection class.

GetEnumerator ( ) : IEnumerator

Shallow enumerate over child docking elements.

this ( int index ) : IDockingElement

Gets the docking element at the specified index.

this ( string name ) : IDockingElement

Gets the docking element with the specified name.

Protected Methods

Method Description
InternalAdd ( IDockingElement item ) : void

Append a docking element to the collection.

InternalClear ( ) : void

Remove all docking elements from the collection.

InternalInsert ( int index, IDockingElement item ) : void

Insert a docking element to the collection.

InternalRemove ( IDockingElement item ) : bool

Removes first occurance of specified docking element.

Method Details

Contains() public method

Determines whether the collection contains the docking element.
public Contains ( IDockingElement item ) : bool
item IDockingElement IDockingElement reference.
return bool

DockingElementClosedCollection() public method

Initialize a new instance of the DockingElementClosedCollection class.
public DockingElementClosedCollection ( string name ) : System
name string Initial name of the element.
return System

GetEnumerator() public method

Shallow enumerate over child docking elements.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

InternalAdd() protected method

Append a docking element to the collection.
protected InternalAdd ( IDockingElement item ) : void
item IDockingElement IDockingElement reference.
return void

InternalClear() protected method

Remove all docking elements from the collection.
protected InternalClear ( ) : void
return void

InternalInsert() protected method

Insert a docking element to the collection.
protected InternalInsert ( int index, IDockingElement item ) : void
index int Insertion index.
item IDockingElement IDockingElement reference.
return void

InternalRemove() protected method

Removes first occurance of specified docking element.
protected InternalRemove ( IDockingElement item ) : bool
item IDockingElement IDockingElement reference.
return bool

this() public method

Gets the docking element at the specified index.
public this ( int index ) : IDockingElement
index int Index.
return IDockingElement

this() public method

Gets the docking element with the specified name.
public this ( string name ) : IDockingElement
name string Name of element.
return IDockingElement