Spread ASP.NET 6.0 Product Documentation
AutoCompleteMode Property
See Also  Example Send Feedback
FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > AjaxComboBoxCellType Class : AutoCompleteMode Property


Glossary Item Box

Gets or sets the auto complete mode of the combo box. Whether the combo box auto-completes by suggesting an item in the list while typing or appending matches as the user types.

Syntax

Visual Basic (Declaration) 
Public Property AutoCompleteMode As AjaxControlToolkit.ComboBoxAutoCompleteMode
Visual Basic (Usage)Copy Code
Dim instance As AjaxComboBoxCellType
Dim value As AjaxControlToolkit.ComboBoxAutoCompleteMode
 
instance.AutoCompleteMode = value
 
value = instance.AutoCompleteMode
C# 
public AjaxControlToolkit.ComboBoxAutoCompleteMode AutoCompleteMode {get; set;}

Example

This example sets the AutoCompleteMode property.
C#Copy Code
FarPoint.Web.Spread.Extender.AjaxComboBoxCellType combo = new FarPoint.Web.Spread.Extender.AjaxComboBoxCellType();
combo.BackColor = System.Drawing.Color.Aquamarine;
combo.AutoCompleteMode = AjaxControlToolkit.ComboBoxAutoCompleteMode.Append;
combo.ShowEditor = true;
combo.DropDownStyle = AjaxControlToolkit.ComboBoxStyle.DropDown;
combo.ItemInsertLocation = AjaxControlToolkit.ComboBoxItemInsertLocation.OrdinalText;
combo.Items.Add("test");
combo.Items.Add("second");
combo.CaseSensitive = true;
combo.AutoPostBack = true;
FpSpread1.Sheets[0].Cells[0, 0].CellType = combo;
Visual BasicCopy Code
Dim combo As New FarPoint.Web.Spread.Extender.AjaxComboBoxCellType()
combo.BackColor = System.Drawing.Color.Aquamarine
combo.AutoCompleteMode = AjaxControlToolkit.ComboBoxAutoCompleteMode.Append
combo.ShowEditor = True
combo.DropDownStyle = AjaxControlToolkit.ComboBoxStyle.DropDown
combo.ItemInsertLocation = AjaxControlToolkit.ComboBoxItemInsertLocation.OrdinalText
combo.Items.Add("test")
combo.Items.Add("second")
combo.CaseSensitive = True
combo.AutoPostBack = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = combo

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.