Class GridRowColEntryCollection
Implements a collection that stores 'GridRowColEntry' objects.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Design
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridRowColEntryCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
GridRowColEntryCollection()
Initializes an empty instances of GridRowColEntryCollection class.
Declaration
public GridRowColEntryCollection()
GridRowColEntryCollection(GridRowColEntry[])
Initializes an empty instances of GridRowColEntryCollection class.
Declaration
public GridRowColEntryCollection(GridRowColEntry[] griValue)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntry[] | griValue | An array of 'GridRowColEntry' objects with which to initialize the collection |
GridRowColEntryCollection(GridRowColEntryCollection)
Initializes an empty instances of GridRowColEntryCollection class.
Declaration
public GridRowColEntryCollection(GridRowColEntryCollection griValue)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntryCollection | griValue | A 'GridRowColEntryCollection' from which the contents is copied |
Properties
Item[Int32]
Gets or sets the 'GridRowColEntry' item at the specified index position.
Declaration
public GridRowColEntry this[int intIndex] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | intIndex | The zero-based index of the entry to locate in the collection. |
Property Value
Type | Description |
---|---|
GridRowColEntry | The entry at the specified index of the collection. |
Methods
Add(GridRowColEntry)
Adds a 'GridRowColEntry' item with the specified value to the 'GridRowColEntryCollection'
Declaration
public int Add(GridRowColEntry griValue)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntry | griValue | The 'GridRowColEntry' to add. |
Returns
Type | Description |
---|---|
System.Int32 | The index at which the new element was inserted. |
AddRange(GridRowColEntry[])
Copies the elements of an array at the end of this instance of 'GridRowColEntryCollection'.
Declaration
public void AddRange(GridRowColEntry[] griValue)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntry[] | griValue | An array of 'GridRowColEntry' objects to add to the collection. |
AddRange(GridRowColEntryCollection)
Adds the contents of another 'GridRowColEntryCollection' at the end of this instance.
Declaration
public void AddRange(GridRowColEntryCollection griValue)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntryCollection | griValue | A 'GridRowColEntryCollection' containing the objects to add to the collection. |
Contains(GridRowColEntry)
Gets a value indicating whether the 'GridRowColEntryCollection' contains the specified value.
Declaration
public bool Contains(GridRowColEntry griValue)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntry | griValue | The item to locate. |
Returns
Type | Description |
---|---|
System.Boolean | True if the item exists in the collection; false otherwise. |
CopyTo(GridRowColEntry[], Int32)
Copies the 'GridRowColEntryCollection' values to a one-dimensional System.Array instance starting at the specified array index.
Declaration
public void CopyTo(GridRowColEntry[] griArray, int intIndex)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntry[] | griArray | The one-dimensional System.Array that represents the copy destination. |
System.Int32 | intIndex | The index in the array where copying begins. |
GetEnumerator()
Returns an enumerator that can be used to iterate through the 'GridRowColEntryCollection'.
Declaration
public GridRowColEntryCollection.GridRowColEntryEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
GridRowColEntryCollection.GridRowColEntryEnumerator | returns Enumerator. |
IndexOf(GridRowColEntry)
Returns the index of a 'GridRowColEntry' object in the collection.
Declaration
public int IndexOf(GridRowColEntry griValue)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntry | griValue | The 'GridRowColEntry' object whose index will be retrieved. |
Returns
Type | Description |
---|---|
System.Int32 | If found, the index of the value; otherwise, -1. |
Insert(Int32, GridRowColEntry)
Inserts an existing 'GridRowColEntry' into the collection at the specified index.
Declaration
public void Insert(int intIndex, GridRowColEntry griValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | intIndex | The zero-based index where the new item should be inserted. |
GridRowColEntry | griValue | The item to insert. |
OnInsert(Int32, Object)
TODO: Describe what custom processing this method does before inserting a new item in the collection
Declaration
protected override void OnInsert(int intIndex, object objValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | intIndex | |
System.Object | objValue |
Overrides
OnSet(Int32, Object, Object)
TODO: Describe what custom processing this method does before setting an item in the collection
Declaration
protected override void OnSet(int intIndex, object objOldValue, object objNewValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | intIndex | |
System.Object | objOldValue | |
System.Object | objNewValue |
Overrides
Remove(GridRowColEntry)
Removes a specific item from the 'GridRowColEntryCollection'.
Declaration
public void Remove(GridRowColEntry griValue)
Parameters
Type | Name | Description |
---|---|---|
GridRowColEntry | griValue | The item to remove from the 'GridRowColEntryCollection'. |