Spread for ASP.NET 7.0 Product Documentation
CaseSensitive Property
See Also  Example Support Options
FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > AjaxComboBoxCellType Class : CaseSensitive Property


Glossary Item Box

Gets or sets a value that indicates whether the combo box auto-complete is case sensitive while the user is typing.

Syntax

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

Example

This example sets the CaseSensitive 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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.