C# Class ZForge.Controls.Wizard.PageCollection

Summary description for PanelCollection.
Inheritance: System.Collections.CollectionBase
Mostra file Open project: zhuangyy/Motion Class Usage Examples

Public Methods

Method Description
Add ( WizardPage value ) : int

Adds a WizardPage into the Collection

AddRange ( WizardPage pages ) : void

Adds an array of pages into the collection. Used by the Studio Designer generated coed

Contains ( WizardPage value ) : bool

Detects if a given Page is in the Collection

IndexOf ( WizardPage value ) : int

Finds the position of the page in the colleciton

Insert ( int index, WizardPage value ) : void

Adds a new page at a particular position in the Collection

PageCollection ( Wizard parent ) : System

Constructor requires the wizard that owns this collection

Remove ( WizardPage value ) : void

Removes the given page from the collection

this ( int index ) : WizardPage

Finds the Page in the collection

Protected Methods

Method Description
OnInsertComplete ( int index, object value ) : void

Propgate when a external designer modifies the pages

OnRemoveComplete ( int index, object value ) : void

Propogates when external designers remove items from page

Method Details

Add() public method

Adds a WizardPage into the Collection
public Add ( WizardPage value ) : int
value WizardPage The page to add
return int

AddRange() public method

Adds an array of pages into the collection. Used by the Studio Designer generated coed
public AddRange ( WizardPage pages ) : void
pages WizardPage Array of pages to add
return void

Contains() public method

Detects if a given Page is in the Collection
public Contains ( WizardPage value ) : bool
value WizardPage Page to find
return bool

IndexOf() public method

Finds the position of the page in the colleciton
public IndexOf ( WizardPage value ) : int
value WizardPage Page to find position of
return int

Insert() public method

Adds a new page at a particular position in the Collection
public Insert ( int index, WizardPage value ) : void
index int Position
value WizardPage Page to be added
return void

OnInsertComplete() protected method

Propgate when a external designer modifies the pages
protected OnInsertComplete ( int index, object value ) : void
index int
value object
return void

OnRemoveComplete() protected method

Propogates when external designers remove items from page
protected OnRemoveComplete ( int index, object value ) : void
index int
value object
return void

PageCollection() public method

Constructor requires the wizard that owns this collection
public PageCollection ( Wizard parent ) : System
parent Wizard Wizard
return System

Remove() public method

Removes the given page from the collection
public Remove ( WizardPage value ) : void
value WizardPage Page to remove
return void

this() public method

Finds the Page in the collection
public this ( int index ) : WizardPage
index int
return WizardPage