C# Class SourceGrid.Styles.StyleCellCollection

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

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat void

AddRange() public méthode

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. ///
Résultat void

AddRange() public méthode

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. ///
Résultat void

Contains() public méthode

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. ///
Résultat bool

GetEnumerator() public méthode

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

IndexOf() public méthode

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. ///
Résultat int

Insert() public méthode

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. ///
Résultat void

Remove() public méthode

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. ///
Résultat void

StyleCellCollection() public méthode

Initializes a new empty instance of the StyleCellCollection class.
public StyleCellCollection ( ) : System
Résultat System

StyleCellCollection() public méthode

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. ///
Résultat System

StyleCellCollection() public méthode

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. ///
Résultat System

this() public méthode

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