GrapeCity.Xaml.SpreadSheet.UI
SheetTabIndex Property (SheetTabDoubleClickEventArgs)
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetTabDoubleClickEventArgs Class : SheetTabIndex Property
Gets the index of the sheet tab that is clicked.
Syntax
'Declaration
 
Public ReadOnly Property SheetTabIndex As Integer
'Usage
 
Dim instance As SheetTabDoubleClickEventArgs
Dim value As Integer
 
value = instance.SheetTabIndex
public int SheetTabIndex {get;}

Property Value

The index of the sheet tab that is clicked.
Example
This example uses the SheetTabIndex property.
private void gcSpreadSheet1_SheetTabClick(object sender, GrapeCity.Xaml.SpreadSheet.UI.SheetTabClickEventArgs e)
        {
            listBox1.Items.Add(e.SheetTabIndex.ToString());
        }

        private void gcSpreadSheet1_SheetTabDoubleClick(object sender, GrapeCity.Xaml.SpreadSheet.UI.SheetTabDoubleClickEventArgs e)
        {
            listBox1.Items.Add(e.SheetTabIndex.ToString());
        }
Private Sub GcSpreadSheet1_SheetTabClick(sender As Object, e As GrapeCity.Xaml.SpreadSheet.UI.SheetTabClickEventArgs) Handles GcSpreadSheet1.SheetTabClick
        ListBox1.Items.Add(e.SheetTabIndex.ToString())
    End Sub

    Private Sub GcSpreadSheet1_SheetTabDoubleClick(sender As Object, e As GrapeCity.Xaml.SpreadSheet.UI.SheetTabDoubleClickEventArgs) Handles GcSpreadSheet1.SheetTabDoubleClick
        ListBox1.Items.Add(e.SheetTabIndex.ToString())
    End Sub
See Also

Reference

SheetTabDoubleClickEventArgs Class
SheetTabDoubleClickEventArgs Members