FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : ActiveSheetViewIndex Property |
'Declaration Public Property ActiveSheetViewIndex As Integer
'Usage Dim instance As FpSpread Dim value As Integer instance.ActiveSheetViewIndex = value value = instance.ActiveSheetViewIndex
public int ActiveSheetViewIndex {get; set;}
Use this property to specify the sheet number of the active sheet. The active sheet is displayed on top of the other sheets. Sheets are zero-based (the first sheet is worksheet 0).
Use the SheetViewCollection Add method to add sheets to the component.
FpSpread1.Sheets.Count=3; FpSpread1.ActiveSheetViewIndex=1; FpSpread1.ActiveSheetView.AlternatingRows[0].BackColor=Color.Yellow; FpSpread1.ActiveSheetView.AlternatingRows[1].BackColor=Color.YellowGreen;
FpSpread1.Sheets.Count=3 FpSpread1.ActiveSheetViewIndex=1 FpSpread1.ActiveSheetView.AlternatingRows(0).BackColor=Color.Yellow FpSpread1.ActiveSheetView.AlternatingRows(1).BackColor=Color.YellowGreen
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
FpSpread Class
FpSpread Members
ActiveSheetView Property
Add (Sheet) Method