C# Class SourceGrid.Styles.StyleCellCollection

A collection of elements of type StyleCell
Inheritance: System.Collections.CollectionBase
Mostrar archivo Open project: zhuangyy/Motion Class Usage Examples

Public Methods

Method Description
Add ( StyleCell value ) : void

Adds an instance of type StyleCell to the end of this StyleCellCollection.

AddRange ( StyleCell items ) : void

Adds the elements of an array to the end of this StyleCellCollection.

AddRange ( StyleCellCollection items ) : void

Adds the elements of another StyleCellCollection to the end of this StyleCellCollection.

Contains ( StyleCell value ) : bool

Determines whether a specfic StyleCell value is in this StyleCellCollection.

GetEnumerator ( ) : StyleCellCollection.Enumerator

Returns an enumerator that can iterate through the elements of this StyleCellCollection.

IndexOf ( StyleCell value ) : int

Return the zero-based index of the first occurrence of a specific value in this StyleCellCollection

Insert ( int index, StyleCell value ) : void

Inserts an element into the StyleCellCollection at the specified index

Remove ( StyleCell value ) : void

Removes the first occurrence of a specific StyleCell from this StyleCellCollection.

StyleCellCollection ( ) : System

Initializes a new empty instance of the StyleCellCollection class.

StyleCellCollection ( StyleCell items ) : System

Initializes a new instance of the StyleCellCollection class, containing elements copied from an array.

StyleCellCollection ( StyleCellCollection items ) : System

Initializes a new instance of the StyleCellCollection class, containing elements copied from another instance of StyleCellCollection

this ( int index ) : StyleCell

Gets or sets the StyleCell at the given index in this StyleCellCollection.

Method Details

Add() public method

Adds an instance of type StyleCell to the end of this StyleCellCollection.
public Add ( StyleCell value ) : void
value StyleCell /// The StyleCell to be added to the end of this StyleCellCollection. ///
return void

AddRange() public method

Adds the elements of an array to the end of this StyleCellCollection.
public AddRange ( StyleCell items ) : void
items StyleCell /// The array whose elements are to be added to the end of this StyleCellCollection. ///
return void

AddRange() public method

Adds the elements of another StyleCellCollection to the end of this StyleCellCollection.
public AddRange ( StyleCellCollection items ) : void
items StyleCellCollection /// The StyleCellCollection whose elements are to be added to the end of this StyleCellCollection. ///
return void

Contains() public method

Determines whether a specfic StyleCell value is in this StyleCellCollection.
public Contains ( StyleCell value ) : bool
value StyleCell /// The StyleCell value to locate in this StyleCellCollection. ///
return bool

GetEnumerator() public method

Returns an enumerator that can iterate through the elements of this StyleCellCollection.
public GetEnumerator ( ) : StyleCellCollection.Enumerator
return StyleCellCollection.Enumerator

IndexOf() public method

Return the zero-based index of the first occurrence of a specific value in this StyleCellCollection
public IndexOf ( StyleCell value ) : int
value StyleCell /// The StyleCell value to locate in the StyleCellCollection. ///
return int

Insert() public method

Inserts an element into the StyleCellCollection at the specified index
public Insert ( int index, StyleCell value ) : void
index int /// The index at which the StyleCell is to be inserted. ///
value StyleCell /// The StyleCell to insert. ///
return void

Remove() public method

Removes the first occurrence of a specific StyleCell from this StyleCellCollection.
public Remove ( StyleCell value ) : void
value StyleCell /// The StyleCell value to remove from this StyleCellCollection. ///
return void

StyleCellCollection() public method

Initializes a new empty instance of the StyleCellCollection class.
public StyleCellCollection ( ) : System
return System

StyleCellCollection() public method

Initializes a new instance of the StyleCellCollection class, containing elements copied from an array.
public StyleCellCollection ( StyleCell items ) : System
items StyleCell /// The array whose elements are to be added to the new StyleCellCollection. ///
return System

StyleCellCollection() public method

Initializes a new instance of the StyleCellCollection class, containing elements copied from another instance of StyleCellCollection
public StyleCellCollection ( StyleCellCollection items ) : System
items StyleCellCollection /// The StyleCellCollection whose elements are to be added to the new StyleCellCollection. ///
return System

this() public method

Gets or sets the StyleCell at the given index in this StyleCellCollection.
public this ( int index ) : StyleCell
index int
return StyleCell