3
我有一個WPF
DataGrid
並有一個事件MouseRightButtonUp
右鍵點擊DataGrid
。如何在事件處理程序中訪問DataGridCell
?如何訪問DataGridCell上點擊WPF DataGrid
private void DataGrid_MouseRightButtonUp(object sender, MouseButtonEventArgs e)
{
//access DataGridCell on which mouse is right clicked
//Want to access cell here
}
非常感謝好友! – Kishor