private void DataGridRow_GotFocus(object sender, RoutedEventArgs e)
{
ActivityPlanRoute route = (ActivityPlanRoute)(sender as DataGridRow).DataContext;
}
数据的值已经存在object sender里面
private void DataGridRow_GotFocus(object sender, RoutedEventArgs e)
{
ActivityPlanRoute route = (ActivityPlanRoute)(sender as DataGridRow).DataContext;
}
数据的值已经存在object sender里面