GrapeCity.Xaml.SpreadSheet.UI
ActiveSheetIndex Property (GcSpreadSheet)
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > GcSpreadSheet Class : ActiveSheetIndex Property
Gets or sets the index of the active sheet in the GrapeCity.Windows.SpreadSheet.UI.GcSpread control.
Syntax
'Declaration
 
<CategoryAttribute()>
<DefaultValueAttribute()>
Public Property ActiveSheetIndex As Integer
'Usage
 
Dim instance As GcSpreadSheet
Dim value As Integer
 
instance.ActiveSheetIndex = value
 
value = instance.ActiveSheetIndex
[Category()]
[DefaultValue()]
public int ActiveSheetIndex {get; set;}
Example
This example uses the ActiveSheetIndex property.
gcSpreadSheet1.ActiveSheetIndex = 0;
gcSpreadSheet1.CanUserEditFormula = true;
gcSpreadSheet1.GridLineColor = Windows.UI.Colors.DarkSeaGreen;
gcSpreadSheet1.Protect = false;
GcSpreadSheet1.ActiveSheetIndex = 0
GcSpreadSheet1.CanUserEditFormula = True
GcSpreadSheet1.GridLineColor = Windows.UI.Colors.DarkSeaGreen
GcSpreadSheet1.Protect = False
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members