GrapeCity.Xaml.SpreadSheet.UI Namespace > CellClickEventArgs Class : ButtonType Property |
'Declaration Public ReadOnly Property ButtonType As MouseButtonType
'Usage Dim instance As CellClickEventArgs Dim value As MouseButtonType value = instance.ButtonType
public MouseButtonType ButtonType {get;}
private void gcSpreadSheet1_CellClick(object sender, GrapeCity.Xaml.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.Xaml.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 Object, e As GrapeCity.Xaml.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 Object, e As GrapeCity.Xaml.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
Target Platforms: Windows Server 2012, Windows RT