共用方式為


DataGrid.CurrentCellChanged 事件

定義

發生於 CurrentCell 屬性的值已變更時。

public:
 event EventHandler<EventArgs ^> ^ CurrentCellChanged;
public event EventHandler<EventArgs> CurrentCellChanged;
member this.CurrentCellChanged : EventHandler<EventArgs> 
Public Custom Event CurrentCellChanged As EventHandler(Of EventArgs) 
Public Event CurrentCellChanged As EventHandler(Of EventArgs) 

事件類型

EventHandler<EventArgs>

備註

CurrentCell屬性值可能會因為滑鼠或鍵盤手勢而變更,或因為屬性值的變更而變更 CurrentColumn

適用於