Spread Windows Forms 9.0 Product Documentation
StartSheetIndex Property
Example 


Gets or sets the index of the sheet at which to start the search.
Syntax
'Declaration
 
Public Overridable Property StartSheetIndex As Integer
'Usage
 
Dim instance As AdvancedSearchDialog
Dim value As Integer
 
instance.StartSheetIndex = value
 
value = instance.StartSheetIndex
public virtual int StartSheetIndex {get; set;}

Property Value

Integer index of the starting sheet to search
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
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

AdvancedSearchDialog Class
AdvancedSearchDialog Members

 

 


Copyright © GrapeCity, inc. All rights reserved.