System.Windows.Forms.ToolStripTextBox.AutoCompleteMode Property

Gets or sets an option that controls how automatic completion works for the System.Windows.Forms.ToolStripTextBox.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
[System.ComponentModel.DefaultValue(System.Windows.Forms.AutoCompleteMode.None)]
[System.ComponentModel.Browsable(true)]
public AutoCompleteMode AutoCompleteMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ToolStripTextBox.AutoCompleteCustomSource, ToolStripTextBox.AutoCompleteMode, and ToolStripTextBox.AutoCompleteSource properties to create a System.Windows.Forms.ToolStripTextBox 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.ToolStripTextBox controls in which URLs, addresses, file names, or commands will be frequently entered.

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

You must use the ToolStripTextBox.AutoCompleteMode and ToolStripTextBox.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