WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridNamespaceGroupItemCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridNamespaceGroupItemCollection

    Implements a collection that stores 'GridNamespaceGroupItem' objects.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    GridNamespaceGroupItemCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridNamespaceGroupItemCollection : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    GridNamespaceGroupItemCollection()

    Initializes a new instance of GridNamespaceGroupItemCollection class.

    Declaration
    public GridNamespaceGroupItemCollection()

    GridNamespaceGroupItemCollection(GridNamespaceGroupItem[])

    Initializes a new instance of 'GridNamespaceGroupItemCollection' with an array of 'GridNamespaceGroupItem' objects.

    Declaration
    public GridNamespaceGroupItemCollection(GridNamespaceGroupItem[] styValue)
    Parameters
    Type Name Description
    GridNamespaceGroupItem[] styValue

    An array of 'GridNamespaceGroupItem' objects with which to initialize the collection

    GridNamespaceGroupItemCollection(GridNamespaceGroupItemCollection)

    Initializes a new instance of GridNamespaceGroupItemCollection based on an already existing instance.

    Declaration
    public GridNamespaceGroupItemCollection(GridNamespaceGroupItemCollection styValue)
    Parameters
    Type Name Description
    GridNamespaceGroupItemCollection styValue

    A GridNamespaceGroupItemCollection from which the contents is copied.

    Properties

    Item[Int32]

    Gets or sets the GridNamespaceGroupItem item at the specified index position.

    Declaration
    public GridNamespaceGroupItem 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
    GridNamespaceGroupItem

    The entry at the specified index of the collection.

    Methods

    Add(GridNamespaceGroupItem)

    Adds a 'GridNamespaceGroupItem' item with the specified value to the 'GridNamespaceGroupItemCollection'

    Declaration
    public int Add(GridNamespaceGroupItem styValue)
    Parameters
    Type Name Description
    GridNamespaceGroupItem styValue

    The GridNamespaceGroupItem to add.

    Returns
    Type Description
    System.Int32

    The index at which the new element was inserted.

    Add(String)

    Adds the base64 string value to the collection, returning the Name for the item. If the base64 string already exists, the current Name for the item is returned.

    Declaration
    public string Add(string base64Str)
    Parameters
    Type Name Description
    System.String base64Str

    The base64 string to add

    Returns
    Type Description
    System.String

    The Name of the GridNamespaceGroupItem which contains this value

    AddRange(GridNamespaceGroupItem[])

    Copies the elements of an array at the end of this instance of GridNamespaceGroupItemCollection.

    Declaration
    public void AddRange(GridNamespaceGroupItem[] styValue)
    Parameters
    Type Name Description
    GridNamespaceGroupItem[] styValue

    An array of GridNamespaceGroupItem objects to add to the collection.

    AddRange(GridNamespaceGroupItemCollection)

    Adds the contents of another GridNamespaceGroupItemCollection at the end of this instance.

    Declaration
    public void AddRange(GridNamespaceGroupItemCollection styValue)
    Parameters
    Type Name Description
    GridNamespaceGroupItemCollection styValue

    A GridNamespaceGroupItemCollection containing the objects to add to the collection.

    Contains(GridNamespaceGroupItem)

    Gets a value indicating whether the GridNamespaceGroupItemCollection contains the specified value.

    Declaration
    public bool Contains(GridNamespaceGroupItem styValue)
    Parameters
    Type Name Description
    GridNamespaceGroupItem styValue

    The item to locate.

    Returns
    Type Description
    System.Boolean

    True if the item exists in the collection; false otherwise.

    ContainsValue(String)

    Gets a value indicating whether the GridNamespaceGroupItemCollection contains a GridNamespaceGroupItem object with the specified value.

    Declaration
    public bool ContainsValue(string val)
    Parameters
    Type Name Description
    System.String val

    The value to find in the collection.

    Returns
    Type Description
    System.Boolean

    True if the item exists in the collection; false otherwise.

    CopyTo(GridNamespaceGroupItem[], Int32)

    Copies the GridNamespaceGroupItemCollection values to a one-dimensional System.Array instance starting at the specified array index.

    Declaration
    public void CopyTo(GridNamespaceGroupItem[] styArray, int intIndex)
    Parameters
    Type Name Description
    GridNamespaceGroupItem[] styArray

    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 'GridNamespaceGroupItemCollection'.

    Declaration
    public GridNamespaceGroupItemCollection.GridNamespaceGroupItemEnumerator GetEnumerator()
    Returns
    Type Description
    GridNamespaceGroupItemCollection.GridNamespaceGroupItemEnumerator

    An enumerator.

    GetNameForValue(String)

    Retrieves the name of the GridNamespaceGroupItem object that has the supplied value.

    Declaration
    public string GetNameForValue(string val)
    Parameters
    Type Name Description
    System.String val

    The value of the GridNamespaceGroupItem object in question.

    Returns
    Type Description
    System.String

    Current object's name for the specified value.

    GetValueForName(String)

    Retrieves the value of the GridNamespaceGroupItem object that has the supplied name.

    Declaration
    public string GetValueForName(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the GridNamespaceGroupItem object.

    Returns
    Type Description
    System.String

    Current object's value for the given name.

    IndexOf(GridNamespaceGroupItem)

    Returns the index of a GridNamespaceGroupItem object in the collection.

    Declaration
    public int IndexOf(GridNamespaceGroupItem styValue)
    Parameters
    Type Name Description
    GridNamespaceGroupItem styValue

    The GridNamespaceGroupItem object whose index will be retrieved.

    Returns
    Type Description
    System.Int32

    If found, the index of the value; otherwise, -1.

    Insert(Int32, GridNamespaceGroupItem)

    Inserts an existing GridNamespaceGroupItem into the collection at the specified index.

    Declaration
    public void Insert(int intIndex, GridNamespaceGroupItem styValue)
    Parameters
    Type Name Description
    System.Int32 intIndex

    The zero-based index where the new item should be inserted.

    GridNamespaceGroupItem styValue

    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
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)

    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
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)

    Remove(GridNamespaceGroupItem)

    Removes a specific item from the GridNamespaceGroupItemCollection.

    Declaration
    public void Remove(GridNamespaceGroupItem styValue)
    Parameters
    Type Name Description
    GridNamespaceGroupItem styValue

    The item to remove from the GridNamespaceGroupItemCollection.

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved