Spread Windows Forms 9.0 Product Documentation
SearchDialog Property
Example 


Gets the dialog associated with searching for text in a cell of a sheet in this component.
Syntax
'Declaration
 
Public ReadOnly Property SearchDialog As SearchDialog
'Usage
 
Dim instance As FpSpread
Dim value As SearchDialog
 
value = instance.SearchDialog
public SearchDialog SearchDialog {get;}

Property Value

SearchDialog object containing the seach dialog
Remarks

The search has these qualifications:

This property is available at run time only.

Example
This example sets up the search dialog.
fpSpread1.SearchWithDialog(""); 
fpSpread1.SearchDialog.AlternateSearch = true; 
fpSpread1.SearchDialog.CaseSensitive = false; 
fpSpread1.SearchDialog.ExactMatch = false;  
fpSpread1.SearchDialog.SearchString = "155"; 
fpSpread1.SearchDialog.SheetIndex = 0; 
fpSpread1.SearchDialog.StartColumnIndex = 0; 
fpSpread1.SearchDialog.StartRowIndex = 0; 
fpSpread1.SearchDialog.UseWildcards = false;  
FpSpread1.SearchWithDialog("") 
FpSpread1.SearchDialog.AlternateSearch = True 
FpSpread1.SearchDialog.CaseSensitive = False 
FpSpread1.SearchDialog.ExactMatch = False 
FpSpread1.SearchDialog.SearchString = "155" 
FpSpread1.SearchDialog.SheetIndex = 0 
FpSpread1.SearchDialog.StartColumnIndex = 0 
FpSpread1.SearchDialog.StartRowIndex = 0 
FpSpread1.SearchDialog.UseWildcards = False  
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FpSpread Class
FpSpread Members
Search Method
SearchWithDialog Method

User-Task Documentation

Setting up a Search Dialog

 

 


Copyright © GrapeCity, inc. All rights reserved.