Spread Windows Forms 12.0 Product Documentation
RepeatFromStart Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SearchDialog Class : RepeatFromStart Property
Gets or sets whether to repeat the search from the start.
Syntax
'Declaration
 
Public Overridable Property RepeatFromStart As Boolean
'Usage
 
Dim instance As SearchDialog
Dim value As Boolean
 
instance.RepeatFromStart = value
 
value = instance.RepeatFromStart
public virtual bool RepeatFromStart {get; set;}

Property Value

Boolean: true to repeat from the start; false otherwise
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()
See Also

Reference

SearchDialog Class
SearchDialog Members