GrapeCity.Xaml.SpreadSheet.UI Namespace > ViewportEventArgs Class : OldIndex Property |
'Declaration Public ReadOnly Property OldIndex As Integer
'Usage Dim instance As ViewportEventArgs Dim value As Integer value = instance.OldIndex
public int OldIndex {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