摘要:
有两种办法:1. 直接在后台处理在数据绑定后 ,注册LoadingRow 事件this.DataGrid.LoadingRow += new EventHandler(DataGrid_LoadingRow);void DataGrid_LoadingRow(object sender, DataGridRowEventArgs e){Task ts = e.Row.DataContext as Task;ToolTipService.SetToolTip(e.Row, ts.Name);//throw new NotImplementedException();}2. 稍微麻烦点, 重写da 阅读全文