Class AutoCompleteItem
The AutoCompleteItem class represent the items of the AutoComplete.
Inheritance
Inherited Members
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 |
---|
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 |
---|
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. |