GrapeCity.Xaml.SpreadSheet.UI Namespace > ViewportEventArgs Class : NewIndex Property |
'Declaration Public ReadOnly Property NewIndex As Integer
'Usage Dim instance As ViewportEventArgs Dim value As Integer value = instance.NewIndex
public int NewIndex {get;}
private void gcSpreadSheet1_LeftColumnChanged(object sender, GrapeCity.Xaml.SpreadSheet.UI.ViewportEventArgs e) { listBox1.Items.Add(e.OldIndex.ToString()); listBox1.Items.Add(e.NewIndex.ToString()); } private void gcSpreadSheet1_TopRowChanged(object sender, GrapeCity.Xaml.SpreadSheet.UI.ViewportEventArgs e) { listBox1.Items.Add(e.OldIndex.ToString()); listBox1.Items.Add(e.NewIndex.ToString()); }
Private Sub gcSpreadSheet1_LeftColumnChanged(sender As Object, e As GrapeCity.Xaml.SpreadSheet.UI.ViewportEventArgs) Handles gcSpreadSheet1.LeftColumnChanged ListBox1.Items.Add(e.OldIndex.ToString()) ListBox1.Items.Add(e.NewIndex.ToString()) End Sub Private Sub gcSpreadSheet1_TopRowChanged(sender As Object, e As GrapeCity.Xaml.SpreadSheet.UI.ViewportEventArgs) Handles gcSpreadSheet1.TopRowChanged ListBox1.Items.Add(e.OldIndex.ToString()) ListBox1.Items.Add(e.NewIndex.ToString()) End Sub
Target Platforms: Windows Server 2012, Windows RT