Spread Windows Forms 12.0 Product Documentation
SearchCellText Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > AdvancedSearchDialog Class : SearchCellText Property
Gets or sets whether to search the text of cells.
Syntax
'Declaration
 
Public Overridable Property SearchCellText As Boolean
'Usage
 
Dim instance As AdvancedSearchDialog
Dim value As Boolean
 
instance.SearchCellText = value
 
value = instance.SearchCellText
public virtual bool SearchCellText {get; set;}

Property Value

Boolean: true if the search includes cell text; false otherwise
Example
This example customizes the advanced search dialog.
FarPoint.Win.Spread.AdvancedSearchDialog sd; 
fpSpread1.SearchWithDialogAdvanced("Test"); 
sd = fpSpread1.SearchDialog; 
sd.SetCustomTextToDefaults(); 
sd.StartSheetIndex = 0; 
sd.EndSheetIndex = 0; 
sd.SearchCellText = true; 
sd.SearchNotes = true; 
sd.SearchTags = true;
Dim sd As FarPoint.Win.Spread.AdvancedSearchDialog
fpSpread1.SearchWithDialogAdvanced("Test")
sd = fpSpread1.SearchDialog
sd.SetCustomTextToDefaults()
sd.StartSheetIndex = 0
sd.EndSheetIndex = 0
sd.SearchCellText = True
sd.SearchNotes = True
sd.SearchTags = True
See Also

Reference

AdvancedSearchDialog Class
AdvancedSearchDialog Members