แก้ไข

แชร์ผ่าน


DataGrid.OnSelectionChanged(SelectionChangedEventArgs) Method

Definition

Invoked when the selection changes.

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)

Parameters

e
SelectionChangedEventArgs

The data for the event.

Remarks

This method changes the selected items in the DataGrid.

Applies to