更新时间:2022-05-15 02:44:31
您可以使用DataGrid的
You can use the DataGrid's
public Rectangle GetCellBounds(int row, int col);
与
public event EventHandler CurrentCellChanged;
public DataGridCell CurrentCell { get; set; }
或
public event MouseEventHandler MouseMove;
public HitTestInfo HitTest(int x, int y);
显示选定单元格上的按钮(或其他控件)。
to show a Button (or another control) over the selected cell.
致谢,
tamberg
Regards, tamberg