SpreadsheetFormulaAutoCompleteOptions.SearchMode Property
Gets or sets a value that specifies what items should appear in the Formula AutoComplete drop-down list.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
[DefaultValue(FormulaAutoCompleteSearchMode.StartsWith)]
public FormulaAutoCompleteSearchMode SearchMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Formula |
Starts |
One of the Formula |
Available values:
Name | Description |
---|---|
Starts |
Specifies that the Formula Auto |
Contains | Specifies that the Formula Auto |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Search |
---|---|
Spreadsheet |
|
#Remarks
Use the SearchMode property to control the displaying of matching items in the Formula AutoComplete drop-down list. This property is set to FormulaAutoCompleteSearchMode.StartsWith by default, so all items that start with the characters entered into a cell appear in the Formula AutoComplete list. If SearchMode is FormulaAutoCompleteSearchMode.Contains, the Formula AutoComplete list includes all items containing specified characters.