2008-11-12 52 views

回答

3

您可以使用DataGrid的

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); 

顯示選定單元格在一個按鈕(或其他控件)。

Regards, tamberg

相關問題