Spread WPF Documentation
SheetArea Property (CellDoubleClickEventArgs)
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > CellDoubleClickEventArgs Class : SheetArea Property
Gets the area the clicked cell is in.
Syntax
'Declaration
 
Public ReadOnly Property SheetArea As SheetArea
'Usage
 
Dim instance As CellDoubleClickEventArgs
Dim value As SheetArea
 
value = instance.SheetArea
public SheetArea SheetArea {get;}

Property Value

The area the clicked cell is in.
Example
This example gets the SheetArea property.
private void gcSpreadSheet1_CellClick(object sender, GrapeCity.Windows.SpreadSheet.UI.CellClickEventArgs e)
        {
            listBox1.Items.Add(e.ButtonType.ToString());
            listBox1.Items.Add(e.Column.ToString());
            listBox1.Items.Add(e.Row.ToString());
            listBox1.Items.Add(e.SheetArea.ToString());
        }

private void gcSpreadSheet1_CellDoubleClick(object sender, GrapeCity.Windows.SpreadSheet.UI.CellDoubleClickEventArgs e)
        {
            listBox1.Items.Add(e.Column.ToString());
            listBox1.Items.Add(e.Row.ToString());
            listBox1.Items.Add(e.SheetArea.ToString());            
        }
Private Sub GcSpreadSheet1_CellClick(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.CellClickEventArgs) Handles GcSpreadSheet1.CellClick
        ListBox1.Items.Add(e.ButtonType.ToString())
        ListBox1.Items.Add(e.Column.ToString())
        ListBox1.Items.Add(e.Row.ToString())
        ListBox1.Items.Add(e.SheetArea.ToString())
    End Sub

    Private Sub GcSpreadSheet1_CellDoubleClick(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.CellDoubleClickEventArgs) Handles GcSpreadSheet1.CellDoubleClick
        ListBox1.Items.Add(e.Column.ToString())
        ListBox1.Items.Add(e.Row.ToString())
        ListBox1.Items.Add(e.SheetArea.ToString())
    End Sub
See Also

Reference

CellDoubleClickEventArgs Class
CellDoubleClickEventArgs Members