DataGrid.LoadingRowDetails 事件

定義

新資料列詳細資料範本套用至資料列時發生。

public:
 event EventHandler<System::Windows::Controls::DataGridRowDetailsEventArgs ^> ^ LoadingRowDetails;
public event EventHandler<System.Windows.Controls.DataGridRowDetailsEventArgs> LoadingRowDetails;
member this.LoadingRowDetails : EventHandler<System.Windows.Controls.DataGridRowDetailsEventArgs> 
Public Custom Event LoadingRowDetails As EventHandler(Of DataGridRowDetailsEventArgs) 
Public Event LoadingRowDetails As EventHandler(Of DataGridRowDetailsEventArgs) 

事件類型

備註

此事件會針對套用新資料列詳細資料範本的每個資料列發生一次。 下列其中一個案例會將新的詳細資料範本套用至資料列:

此事件可讓您在使用資料列詳細資料項目目之前,對資料列詳細資料元素進行任何必要的變更。 若要在重複使用資料列詳細資料元素之前復原這些自訂專案,請處理 UnloadingRowDetails 事件。

適用於

另請參閱