GrapeCity.Xaml.SpreadSheet.UI
SheetTabDoubleClick Event (GcSpreadSheet)
Example 


Occurs when the user double-clicks the sheet tab.
Syntax
'Declaration
 
Public Event SheetTabDoubleClick As EventHandler(Of SheetTabDoubleClickEventArgs)
'Usage
 
Dim instance As GcSpreadSheet
Dim handler As EventHandler(Of SheetTabDoubleClickEventArgs)
 
AddHandler instance.SheetTabDoubleClick, handler
public event EventHandler<SheetTabDoubleClickEventArgs> SheetTabDoubleClick
Event Data

The event handler receives an argument of type SheetTabDoubleClickEventArgs containing data related to this event. The following SheetTabDoubleClickEventArgs properties provide information specific to this event.

PropertyDescription
SheetTabIndex Gets the index of the sheet tab that is clicked.  
Example
This example uses the SheetTabDoubleClick event.
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
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options