System.Windows.Forms.ToolStripComboBox.AutoCompleteCustomSource Property

Gets or sets the custom string collection to use when the ToolStripComboBox.AutoCompleteSource property is set to AutoCompleteSource.CustomSource.

Syntax

[System.ComponentModel.Editor("System.Windows.Forms.Design.ListControlStringCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.Browsable(true)]
public AutoCompleteStringCollection AutoCompleteCustomSource { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ToolStripComboBox.AutoCompleteCustomSource, ToolStripComboBox.AutoCompleteMode, and ToolStripComboBox.AutoCompleteSource properties to create a System.Windows.Forms.ToolStripComboBox that automatically completes input strings by comparing the prefix being entered to the prefixes of all strings in a maintained source. This is useful for System.Windows.Forms.ToolStripComboBox controls in which URLs, addresses, file names, or commands will be frequently entered.

The use of the ToolStripComboBox.AutoCompleteCustomSource property is optional, but you must set the ToolStripComboBox.AutoCompleteSource property to AutoCompleteSource.CustomSource in order to use ToolStripComboBox.AutoCompleteCustomSource.

You must use the ToolStripComboBox.AutoCompleteMode and ToolStripComboBox.AutoCompleteSource properties together.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0