GrapeCity.Xaml.SpreadSheet.UI Namespace > GcSpreadSheet Class : SelectionChanged Event |
'Declaration Public Event SelectionChanged As EventHandler(Of EventArgs)
'Usage Dim instance As GcSpreadSheet Dim handler As EventHandler(Of EventArgs) AddHandler instance.SelectionChanged, handler
public event EventHandler<EventArgs> SelectionChanged
private void gcSpreadSheet1_SelectionChanged(object sender, EventArgs e) { listBox1.Items.Add("SelectionChanged"); } private void gcSpreadSheet1_SelectionChanging(object sender, GrapeCity.Xaml.SpreadSheet.UI.SelectionChangingEventArgs e) { listBox1.Items.Add(e.NewSelections[0].Column.ToString()); listBox1.Items.Add(e.OldSelections.Length.ToString()); }
Target Platforms: Windows Server 2012, Windows RT