WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridBaseStyleCollection - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridBaseStyleCollection

    A collection that stores 'GridBaseStyle' objects.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    GridBaseStyleCollection
    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.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnInsert(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.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridBaseStyleCollection : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    GridBaseStyleCollection()

    Initializes a new instance of 'GridBaseStyleCollection'.

    Declaration
    public GridBaseStyleCollection()

    GridBaseStyleCollection(GridBaseStyle[])

    Initializes a new instance of 'GridBaseStyleCollection' with an array of 'GridBaseStyle' objects.

    Declaration
    public GridBaseStyleCollection(GridBaseStyle[] griValue)
    Parameters
    Type Name Description
    GridBaseStyle[] griValue

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

    GridBaseStyleCollection(GridBaseStyleCollection)

    Initializes a new instance of 'GridBaseStyleCollection' based on an already existing instance.

    Declaration
    public GridBaseStyleCollection(GridBaseStyleCollection griValue)
    Parameters
    Type Name Description
    GridBaseStyleCollection griValue

    A 'GridBaseStyleCollection' from which the contents is copied

    Properties

    Item[Int32]

    Represents the 'GridBaseStyle' item at the specified index position.

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

    The entry at the specified index of the collection.

    Methods

    Add(GridBaseStyle)

    Adds a 'GridBaseStyle' item with the specified value to the 'GridBaseStyleCollection'

    Declaration
    public int Add(GridBaseStyle griValue)
    Parameters
    Type Name Description
    GridBaseStyle griValue

    The 'GridBaseStyle' to add.

    Returns
    Type Description
    System.Int32

    The index at which the new element was inserted.

    AddRange(GridBaseStyle[])

    Copies the elements of an array at the end of this instance of 'GridBaseStyleCollection'.

    Declaration
    public void AddRange(GridBaseStyle[] griValue)
    Parameters
    Type Name Description
    GridBaseStyle[] griValue

    An array of 'GridBaseStyle' objects to add to the collection.

    AddRange(GridBaseStyleCollection)

    Adds the contents of another 'GridBaseStyleCollection' at the end of this instance.

    Declaration
    public void AddRange(GridBaseStyleCollection griValue)
    Parameters
    Type Name Description
    GridBaseStyleCollection griValue

    A 'GridBaseStyleCollection' containing the objects to add to the collection.

    Contains(GridBaseStyle)

    Gets a value indicating whether the 'GridBaseStyleCollection' contains the specified value.

    Declaration
    public bool Contains(GridBaseStyle griValue)
    Parameters
    Type Name Description
    GridBaseStyle griValue

    The item to locate.

    Returns
    Type Description
    System.Boolean

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

    CopyTo(GridBaseStyle[], Int32)

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

    Declaration
    public void CopyTo(GridBaseStyle[] griArray, int intIndex)
    Parameters
    Type Name Description
    GridBaseStyle[] 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 'GridBaseStyleCollection'.

    Declaration
    public GridBaseStyleCollection.GridBaseStyleEnumerator GetEnumerator()
    Returns
    Type Description
    GridBaseStyleCollection.GridBaseStyleEnumerator

    IndexOf(GridBaseStyle)

    Returns the index of a 'GridBaseStyle' object in the collection.

    Declaration
    public int IndexOf(GridBaseStyle griValue)
    Parameters
    Type Name Description
    GridBaseStyle griValue

    The 'GridBaseStyle' object whose index will be retrieved.

    Returns
    Type Description
    System.Int32

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

    Insert(Int32, GridBaseStyle)

    Inserts an existing 'GridBaseStyle' into the collection at the specified index.

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

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

    GridBaseStyle griValue

    The item to insert.

    Remove(GridBaseStyle)

    Removes a specific item from the 'GridBaseStyleCollection'.

    Declaration
    public void Remove(GridBaseStyle griValue)
    Parameters
    Type Name Description
    GridBaseStyle griValue

    The item to remove from the 'GridBaseStyleCollection'.

    Implements

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

    Extension Methods

    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved