WinForms

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

    Show / Hide Table of Contents

    Class AutoCompleteItem

    The AutoCompleteItem class represent the items of the AutoComplete.

    Inheritance
    System.Object
    AutoCompleteItem
    Inherited Members
    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 AutoCompleteItem

    Constructors

    AutoCompleteItem(Object[], Int32)

    Initialize the new instance of the AutoCompleteItem class.

    Declaration
    public AutoCompleteItem(object[] array, int matchColumnIndex)
    Parameters
    Type Name Description
    System.Object[] array

    AutoCompleteItem as an object array.

    System.Int32 matchColumnIndex

    Index of column to be mathcing.

    Properties

    ItemArray

    Returns the AutoCompleteItem as an object array.

    Declaration
    public object[] ItemArray { get; }
    Property Value
    Type Description
    System.Object[]
    Remarks

    This property holds the information about the currently selected item. The first item in the array is the first column of the matching item and so on for all the sub items.

    MatchColumnIndex

    Returns the index of the item that was used for the matching.

    Declaration
    public int MatchColumnIndex { get; }
    Property Value
    Type Description
    System.Int32
    Remarks

    This index could be different from the matching index of the AutoComplete control. The ItemArray returned will only have items/columns that are displayed in the drop down list of the AutoComplete control.

    Methods

    ToString()

    Converts the value to its equivalent string representation.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Returns the string value of the instance.

    Overrides
    System.Object.ToString()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved