WinForms

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

    Show / Hide Table of Contents

    Class AutoCompleteTargetCollection

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

    Inheritance
    System.Object
    System.Collections.CollectionBase
    AutoCompleteTargetCollection
    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.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.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class AutoCompleteTargetCollection : 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

    AutoCompleteTargetCollection()

    Declaration
    public AutoCompleteTargetCollection()

    Properties

    Item[Int32]

    Gets / sets the Indexer property for the AutoCompleteDataColumnInfoCollection class.

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

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

    Methods

    Add(AutoCompleteTarget)

    Adds one person to the collection.

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

    The AutoCompleteDataColumnInfo object to be added.

    Returns
    Type Description
    System.Int32

    returns the count of the list items

    AddRange(AutoCompleteTarget[])

    Add array of targets into collection.

    Declaration
    public void AddRange(AutoCompleteTarget[] array)
    Parameters
    Type Name Description
    AutoCompleteTarget[] array

    array of columns.

    Contains(AutoCompleteTarget)

    Indicates whether the collection contains a specific AutoCompleteDataColumnInfo entry.

    Declaration
    public bool Contains(AutoCompleteTarget column)
    Parameters
    Type Name Description
    AutoCompleteTarget 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(AutoCompleteTarget[], 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(AutoCompleteTarget[] array, int index)
    Parameters
    Type Name Description
    AutoCompleteTarget[] array

    Destination array.

    System.Int32 index

    Starting index from which to start the copying.

    IndexOf(AutoCompleteTarget)

    Return order index of the column in collection, otherwise -1.

    Declaration
    public int IndexOf(AutoCompleteTarget column)
    Parameters
    Type Name Description
    AutoCompleteTarget column

    The AutoCompleteDataColumnInfo to locate in the access control list.

    Returns
    Type Description
    System.Int32

    Order index in collection, otherwise -1.

    Insert(Int32, AutoCompleteTarget)

    Insert spcified column into collection.

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

    position where to insert column.

    AutoCompleteTarget column

    The AutoCompleteDataColumnInfo to locate in the access control list.

    Remove(AutoCompleteTarget)

    Removes DataColomnInfo objrects from the collectoin.

    Declaration
    public void Remove(AutoCompleteTarget column)
    Parameters
    Type Name Description
    AutoCompleteTarget 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