Skybound AutoComplete

AutoCompleteManager.Item Property

Gets the AutoComplete instance associated with a specified Control.

[Visual Basic]
Public Default ReadOnly Property Item( _
   ByVal control As Control _
) As AutoComplete
[C#]
public AutoComplete this[
   System.Windows.Forms.Control control
] {get;}

Property Value

The AutoComplete instance associated with a specified control.

Remarks

Use this property as a convenient way to access the AutoComplete instance associated with a control.

If no AutoComplete instance has been assigned to a control yet, a new AutoComplete is created and returned.

Example

This example enables file system autocompletion for a control called textBox1.

[C#]

autoCompleteManager1[textBox1].IncludeRecent = AutoCompleteRecent.Files;

[Visual Basic]

autoCompleteManager1(textBox1).IncludeRecent = AutoCompleteRecent.Files

See Also

AutoCompleteManager Class | Skybound.AutoComplete Namespace