internal void OnNewRow(DataRow row) { Debug.Assert(row.Element == null); // Allow New state also because we are calling this function from Debug.Assert(row.RowState == DataRowState.Detached); AttachBoundElementToDataRow(row); }