Spread Windows Forms 9.0 Product Documentation
SearchStrings Property
Example 


Gets the strings that were searched for in the search dialog.
Syntax
'Declaration
 
Public Overridable Property SearchStrings As String()
'Usage
 
Dim instance As SearchDialog
Dim value() As String
 
instance.SearchStrings = value
 
value = instance.SearchStrings
public virtual string[] SearchStrings {get; set;}

Property Value

String array containing the search strings
Example
This example returns the index of the sheet where the text was found.
FarPoint.Win.Spread.SearchDialog sd; 
fpSpread1.SearchWithDialog("Test"); 
sd = fpSpread1.SearchDialog; 
int i = sd.FoundSheetIndex(); 
sd.RepeatFromStart = false; 
string[] s = sd.SearchStrings();
Dim sd As FarPoint.Win.Spread.SearchDialog
FpSpread1.SearchWithDialog("Test")
sd = FpSpread1.SearchDialog
Dim i As Integer = sd.FoundSheetIndex()
sd.RepeatFromStart = False
Dim s As String() = sd.SearchStrings()
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

SearchDialog Class
SearchDialog Members

 

 


Copyright © GrapeCity, inc. All rights reserved.