DataGrid.OnSelectionChanged(SelectionChangedEventArgs) 方法

定义

当选择更改时调用。

protected:
 override void OnSelectionChanged(System::Windows::Controls::SelectionChangedEventArgs ^ e);
protected override void OnSelectionChanged (System.Windows.Controls.SelectionChangedEventArgs e);
override this.OnSelectionChanged : System.Windows.Controls.SelectionChangedEventArgs -> unit
Protected Overrides Sub OnSelectionChanged (e As SelectionChangedEventArgs)

参数

e
SelectionChangedEventArgs

事件的数据。

注解

This method changes the selected items in the DataGrid.

适用于