WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AutoCompleteDataColumnInfoCollection

    Show / Hide Table of Contents

    Class AutoCompleteDataColumnInfoCollection

    Collection of AutoCompleteDataColumnInfoobjects. Used in the Columns property of the AutoComplete control.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    AutoCompleteDataColumnInfoCollection
    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.GetEnumerator()
    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.OnClearComplete()
    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.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class AutoCompleteDataColumnInfoCollection : CollectionBase, IList, ICollection, IEnumerable
    Remarks

    The AutoCompleteDataColumnInfoCollection is a set of objects each of which hold information required to create a column in a System.Windows.Forms.ListView.

    Constructors

    AutoCompleteDataColumnInfoCollection(AutoComplete)

    Creates an instance of the AutoCompleteDataColumnInfoCollection class.

    Declaration
    public AutoCompleteDataColumnInfoCollection(AutoComplete autoComplete)
    Parameters
    Type Name Description
    AutoComplete autoComplete

    The AutoComplete control that contains this collection.

    Fields

    m_owner

    The owner of the collection.

    Declaration
    protected AutoComplete m_owner
    Field Value
    Type Description
    AutoComplete

    Properties

    Item[Int32]

    Gets or sets the Indexer property for the AutoCompleteDataColumnInfoCollection class.

    Declaration
    public AutoCompleteDataColumnInfo this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    AutoCompleteDataColumnInfo
    Remarks

    Returns the AutoCompleteDataColumnInfo object based on the index in the collection.

    Methods

    Add(AutoCompleteDataColumnInfo)

    Adds one object to the collection.

    Declaration
    public int Add(AutoCompleteDataColumnInfo column)
    Parameters
    Type Name Description
    AutoCompleteDataColumnInfo column

    The AutoCompleteDataColumnInfo object to be added.

    Returns
    Type Description
    System.Int32

    The count of the list items

    Contains(AutoCompleteDataColumnInfo)

    Indicates whether the collection contains a specific AutoCompleteDataColumnInfo entry.

    Declaration
    public bool Contains(AutoCompleteDataColumnInfo column)
    Parameters
    Type Name Description
    AutoCompleteDataColumnInfo column

    The AutoCompleteDataColumnInfo to locate in the access control list.

    Returns
    Type Description
    System.Boolean

    True if the AutoCompleteDataColumnInfo entry is found in the collection; false otherwise.

    CopyTo(AutoCompleteDataColumnInfo[], Int32)

    Copies all the elements of the current one-dimensional Array to the specified one-dimensional Array starting at the specified destination Array index.

    Declaration
    public void CopyTo(AutoCompleteDataColumnInfo[] array, int index)
    Parameters
    Type Name Description
    AutoCompleteDataColumnInfo[] array

    Destination array.

    System.Int32 index

    Starting index from which to start copying.

    GetMatchingColumnIndex()

    Returns the index of the column that is used for matching.

    Declaration
    public int GetMatchingColumnIndex()
    Returns
    Type Description
    System.Int32

    Index of the matching column.

    Remarks

    Iterates through the collection and returns the index of the element that has the MatchingColumn to be true.

    Insert(Int32, AutoCompleteDataColumnInfo)

    Inserts the AutoCompleteDataColumnInfo into the collection at the specfied index.

    Declaration
    public void Insert(int index, AutoCompleteDataColumnInfo item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which the item is to be inserted.

    AutoCompleteDataColumnInfo item

    The AutoCompleteDataColumnInfo to be inserted.

    OnInsertComplete(Int32, Object)

    Overrides OnInsertComplete.

    Declaration
    protected override void OnInsertComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)

    OnRemoveComplete(Int32, Object)

    Declaration
    protected override void OnRemoveComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)

    OnSetComplete(Int32, Object, Object)

    Declaration
    protected override void OnSetComplete(int index, object oldValue, object newValue)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object oldValue
    System.Object newValue
    Overrides
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)

    Remove(AutoCompleteDataColumnInfo)

    Removes AutoCompleteDataColumnInfo objects from the collection.

    Declaration
    public void Remove(AutoCompleteDataColumnInfo column)
    Parameters
    Type Name Description
    AutoCompleteDataColumnInfo column

    The AutoCompleteDataColumnInfo object to remove.

    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 - 2023 Syncfusion Inc. All Rights Reserved